You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The dxf2coord script reads the coordinates of points, lines, polylines (LWPOLYLINES with and without elevation), 3d polylines, 3dfaces and circles from an acad r2000 - r2004 ascii .dxf file. this simple script treads the .dxf file as a string and looks
for the keywords for the interested entity (e.g. 'AcDbPolyline' for polylines) and reads the following coordinates. for details see the dxf reference.
caution: this script won't read additional information like layer color,linewidth, linestyle etc.!!!
two different files are added, one saves all entities as a matrix the other as cell array
Cite As
lukas wischounig (2026). dxf2coord 1.1 (https://in.mathworks.com/matlabcentral/fileexchange/7619-dxf2coord-1-1), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Read DXF File Data
General Information
- Version 1.0.0.0 (6.91 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | version 1.1: reads 3dfaces and circles now, output format slightly changed |
