No BSD License  

4.8

4.8 | 5 ratings Rate this file 65 Downloads (last 30 days) File Size: 853 Bytes File ID: #4895

dxf export for 3d line elements

by

 

10 May 2004 (Updated )

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

| Watch this File

File Information
Description

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 (6)
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:
"fprintf(fid,'LINE\n8\n0\n');"
Now it works perfect for me.
(Maybe a little late...)

07 Dec 2010 dario

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?

25 Jun 2010 Alex

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