dxf2coord 1.1
No License
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 (2024). dxf2coord 1.1 (https://www.mathworks.com/matlabcentral/fileexchange/7619-dxf2coord-1-1), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Read DXF File Data
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | version 1.1: reads 3dfaces and circles now, output format slightly changed |