dxf2coord 1.1

The script reads the coordinates of points, lines, polylines, 3d polylines 3dfaces and circles from
4.9K Downloads
Updated 13 May 2005

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
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
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!
Version Published Release Notes
1.0.0.0

version 1.1: reads 3dfaces and circles now, output format slightly changed