Plots 2D DXF file in current axes/figure (or creates a new figure/axes if none exist).
USAGE: dxf = DXFtool('filename.dxf')
INPUT: filename of dxf file as a string (may also include path).
OUTPUT: dxf object (optional).
FEATURES:
- supports: LINE, POINT, ARC, CIRCLE, ELLIPSE, LWPOLYLINE
- colored entities (line and hatch color)
- respects ordering of objects (back to front)
- supports bulges, open/closed polygons
- line dashing
TODO:
- more entities: DIMENSION, 3D stuff.
- improve handling of splines (currently piecewise linear)
- implement line weight handling
EXAMPLES:
1) Showing the possibilities
2) Using DXFplot to generate graphical legend
3) Importing and plotting CAD model from SolidWorks
Cita come
Mikkel Pedersen (2025). DXFtool (https://it.mathworks.com/matlabcentral/fileexchange/66632-dxftool), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: Read DXF File Data
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
DXFtool_v1.0/
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
