Extensions:2.4/Py/Scripts/Export/export profiles

提供: wiki
移動先: 案内検索
Export Profile
Export flat shapes (such as cross sections of a mesh) to a dxf file containing polylines or to a svg file.
UI location Group: Export
Version 0.1.3 2008-09-22 Author(s) Yorik
Blender 2.46 and up License GPL
Note(s) This script is now almost obsolete, since DXF export has been added to blender since version 2.48


Executable information
File name export_profile.py
Current version download http://yorik.orgfree.com/scripts/export_profile.py


Links Detailed documentation can be found on the script's home page


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.


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...

Credits


Thanks go to:

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

Support