No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
dxf export for 3d line elements

4.8 | 6 ratings Rate this file 47 Downloads (last 30 days) File Size: 853 Bytes File ID: #4895 Version: 1.0

dxf export for 3d line elements


Christoph Krall (view profile)


10 May 2004 (Updated )

Exports 3d line elements into a DXF file for further use with CAD software.

| Watch this File

File Information

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.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
22 Dec 2016 Yang

Yang (view profile)

03 Jun 2016 vignesh sampath

hi, i am facing difficulties in executing this script. Please help me with giving inputs arguments.Thanks.

Comment only
07 Oct 2011 Martin Saravia

Excellent contribution. I slightly modified the script to read airfoil data and generate the dxf to import with Hypermesh and works perfectly.

13 Sep 2011 Tom Etzer

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

07 Dec 2010 dario

dario (view profile)

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?

Comment only
25 Jun 2010 Alex

Alex (view profile)

Worked perfectly, saved a lot of time.

09 Dec 2005 Peter Pan

The best script I have aver seen. This script totally rules.

20 Jul 2005 Brian Holley

Very simple and effective! Nice contribution.

Contact us