Wednesday, July 21, 2010

Converting Models in Keycreator to xaml in Blender

To prepare the model:
  1. Export to STL from Keycreator
  2. Open model in Blender
  3. Select Model
  4. 'Tab' to enter edit mode
  5. 'a' to select all
  6.  'w,6' to remove multiple vertices
  7. 'alt+j' to convert to quads (from triangles)
To separate the mesh into parts:
  1. Select the part you want to separate (b - border, shift - add, alt - subtract)
  2. 'p' to separate
To set object hierarchy:
  1. Select all the child objects and then the parent
  2. Ctrl+P to set the parent.
To set the names of objects:
  1. Right click to select the object (in Object Mode and Edit Mode)
  2. Set the name in the 'OB:' text box.
To export to xaml:
  1. Download export script from http://xamlexporter.codeplex.com/
  2. Put xaml_export.py in blender's script directory (one of the following)
    1. C:\Program Files\Blender Foundation\Blender\.blender\scripts
    2. C:\Documents and Settings\\Application Data\Blender Foundation\Blender\.blender\scripts
  3. Select everything you want to export.
  4. File > Export > Xaml
Shortcuts
Middle Mouse - rotate and zoom
Shift + middle mouse - pan
Tab - Edit mode
a - Select all
b - border select

No comments: