dxf2coord 1.1

The script reads the coordinates of points, lines, polylines, 3d polylines 3dfaces and circles from

You are now following this Submission

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

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

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