|
|
| File Information |
| Description |
Note: this project has been made obsolete. See the "model3d" project also on the file exchange for a more comprehensive 3D import package.
read_dxf loads facet information from an ASCII DXF file into MATLAB. It does not currently load color or texture information.
Usage:
dxf = read_dxf('dxf_filename');
The output is a Nx3x3 variable. The first index, N, references the facet number. The second index references the three vertices of each facet. The final index is the (x,y,z) location of the vertex.
I have also included a function "surfdxf" as an example of displaying the file.
The code uses a C++ class for DXF processing and is a compiled MATLAB function. The source and executables for Windows and Linux are included. For other platforms, the Makefile can be easily modified. I've also included the MS Visual Studio solution for compiling in Windows. |
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
| Other requirements |
compiled MATLAB functions are included for Windows and Linux only. |
| Zip File Content |
|
| Other Files |
read_dxf/Makefile, read_dxf/read_dxf.mexglx, read_dxf/dxf.h, read_dxf/read_dxf.vcproj, read_dxf/read_dxf.def, read_dxf/read_dxf.cpp, read_dxf/read_dxf.dll, read_dxf/read_dxf.ncb, read_dxf/read_dxf.sln, read_dxf/read_dxf.suo, read_dxf/dxftoken.h, read_dxf/dxf.cpp, read_dxf/read_dxf.m, read_dxf/README.txt, read_dxf/surfdxf.m, read_dxf/dxftoken.cpp
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 19 Apr 2005 |
hu jin
|
|
|
| 17 Sep 2005 |
Gareth Swarbrick
|
|
|
| 28 Sep 2005 |
Andrea Thirchi
|
|
|
| Updates |
| 19 Sep 2005 |
update the description |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com