No BSD License
by Christoph Krall
10 May 2004
(Updated 13 May 2004)
Exports 3d line elements into a DXF file for further use with CAD software.
Watch this File
Given a filename and a 3d line where each line element is specified by X,Y, and Z coordinates it writes a DXF file with the a connected line and N vertices.
Excellent contribution. I slightly modified the script to read airfoil data and generate the dxf to import with Hypermesh and works perfectly.
I had the same problem as dario.
The Name of the Layer was "0 " instead of "0". Therefore, i changed line 12 to:
Now it works perfect for me.
(Maybe a little late...)
Thanks for the script, very useful. however I tried to use the function but when opening in AutoCad 2011 it says
Invalid or incomplete DXF input -- drawing discarded.
even though t picks the coordinates (I can see them in the dxf file opened with notepad). Do you know wht's wrong?
Worked perfectly, saved a lot of time.
The best script I have aver seen. This script totally rules.
Very simple and effective! Nice contribution.