Home

Awesome

SDFGen

A robotics-focused addon for Blender that converts Blender files to SDF.<br>

Installation

  1. Download the addon: SDFGen addon<br>
  2. Go to Edit > Preferences > Add-ons and click the downward facing arrow in the upper-right. Click Install from disk... from the dropdown.<br>
  3. Select the SDFGen.py file. Activate it by checking the box next to it.<br>
  4. Press N to open the N-panel where you can access the tool.
  5. Note that after installing the addon Blender may attempt to aautomatically active the addon, however you may need to disable and enable the addon by unchecking and then checking the box next to it.

How to Use

Utilities

The Utilities panel provides quick access to importers for common file types and tools to prepare imported meshes for applying collision objects.

STL/FBX/OBJ/DAE Importers

Clear Hierarchy / Reset Scale

Separate Parts

Separate Parts Example

Separate by Material

Select Small Parts

Create Panel

Hierarchy Tab

Organize the Blender outliner to match the SDF structure.

Models

Create Link

Clone Link

Create Instance

Colliders Tab

Create both simple and mesh-based collisions.

Options

Show/Hide Colliders
Per Object

Per Object Example

Minimal Box

Minimal Box Example

Collider Margin

Simple Colliders

Box, Sphere, Cone, Plane
Cylinder
Generate by Face

Mesh Colliders

Mesh Collider Example

Simplify
Inflate

Transform

Scale Cage
Snap
Diameter

Joints Tab

Show/Hide Joints
Joint Color

Create Joint

Properties

Joint Properties

Parent and Child

Continuous

Lower and Upper Limit

Visual Properties

Material

Custom Density

Decimate

Link Properties

Static

Export

Tools to export SDF files.

Mesh File Type

Mesh Files Path

File Directory

Export

Features to add

Version history

SDFGen 1.0.2

SDFGen 1.0.1