From BlenderWiki

Jump to: navigation, search

[edit] export profile

Note - This script is now almost obsolete, since DXF export has been added to blender since version 2.48.

[edit] About

Name Export Profile Version 0.1.3 2008-09-22
This script has been made for exporting flat shapes (such as cross sections of a mesh) to a dxf file containing polylines or to a svg file. License GPL: GNU General Public License
Menu Group: Export Blender 2.46 and up
Author Yorik
Link(s) http://yorik.orgfree.com/scripts/export_profile.py
Executable: export_profile.py Modules:
Data: External Dependencies: None
Additional information: Detailed documentation can be found on the script's home page.

[edit] Introduction

profiles ready to be exported

Export Profile

This Script exports 2D profiles in dxf or svg format. To get the

  • Only selected objects are exported
  • Exported objects will be flattened (their z coordinate will be zero)
  • Exported objects must be convertible to sequence of lines. This means there cannot be intersections (vertices with more than 2 edges), otherwise the script will choose only one of the adjacent edges, and part of your geometry won't be exported. This means it is better to remove faces.
  • Although this doesn't have influence on the result of the script, it is a good idea to "remove doubles" before exporting, so you get a cleaner dxf file.


[edit] Known issues

  • the exported svg file doesn't have its "viewport" defined... So, opening it in an image viewer will not display it right. But the geometry is there...

[edit] Credits


Thanks go to:

  • Stani for his sdxf library... Many things from this script come from it.

[edit] Support