No BSD License  

Highlights from
dxf export for 3d line elements

4.8

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

dxf export for 3d line elements

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

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
20 Jul 2005 Brian Holley

Very simple and effective! Nice contribution.

09 Dec 2005 Peter Pan

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

25 Jun 2010 Alex

Worked perfectly, saved a lot of time.

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?

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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Christoph Krall 22 Oct 2008 07:19:28
data export Christoph Krall 22 Oct 2008 07:19:28
dxf Christoph Krall 22 Oct 2008 07:19:28
line Christoph Krall 22 Oct 2008 07:19:28
3d Christoph Krall 22 Oct 2008 07:19:28
export Christoph Krall 22 Oct 2008 07:19:28
utilities Christoph Krall 22 Oct 2008 07:19:28
data Christoph Krall 22 Oct 2008 07:19:28
import Christoph Krall 22 Oct 2008 07:19:28
3d Allan 10 Apr 2009 14:45:48
3d Michele Finelli 12 Mar 2010 06:32:50
data export Michele Finelli 12 Mar 2010 06:34:48
3d Aleksy 31 Jan 2011 03:26:22
dxf Brandon 04 May 2011 14:49:26
dxf norhidayah 15 Jun 2011 03:52:13
data export vynnyk 25 Aug 2011 10:05:54
dxf Fabien 24 Oct 2011 10:27:23

Contact us at files@mathworks.com