Code covered by the BSD License  

Highlights from
Surface to DXF file conversion

1.0

1.0 | 1 rating Rate this file 13 Downloads (last 30 days) File Size: 1.7 KB File ID: #26789

Surface to DXF file conversion

by

 

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

| Watch this File

File Information
Description

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 (2)
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));

Contact us