Batch DXF Drawings from a Spreadsheet (Python CAD Automation)
A Python batch tool that reads a CSV/Excel size list and creates one layered DXF drawing per row.
The image shows a real run: six flange sizes (DN50 to DN250) in sizes.csv became six DXF drawings in one command, each with outline, bolt holes, centre lines, dimensions and a hole callout.
Features:
- One DXF per spreadsheet row, named automatically
- Every size is checked first; impossible geometry is reported instead of drawn
- Same layer structure on every file, ready for AutoCAD, LibreCAD, FreeCAD or CAM
- Scales to hundreds of sizes in seconds
Tools: Python 3, ezdxf, csv, matplotlib (previews).
Published