Code covered by the BSD License  

Highlights from
Surface to DXF file conversion

1.0 | 2 ratings Rate this file 21 Downloads (last 30 days) File Size: 1.7 KB File ID: #26789 Version: 1.0

Surface to DXF file conversion



This function converts a surface into 3D faces of a DXF file.

| Watch this File

File Information

The X, Y and Z matrix arguments can be used exactly as in the surf and mesh functions. But attention to the colors, because DXF fiels do not uses RGB palete. Instead they use a scaled color palete between 0 and 255.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
21 Aug 2014 Tong

Tong (view profile)

06 Feb 2012 Cameron Sparr

You can fix the error by editing and re-uploading the file.

24 Mar 2010 Alexandre Carvalho Leite

There is an error in the code line 45. The bug can be fixed by substituting it by:

fprintf(fid,'13\n %.4f\n 23\n %.4f\n 33\n %.4f\n',X(i+1,j),Y(i+1,j),Z(i+1,j));

Comment only

Contact us