Skip to content

smay4finger/dxfsanitizer

Repository files navigation

Some very stupid laser cutter software is not able to use DXF specialties like blocks, polylines, ellipses and so on. So I wrote this piece of Python script for sanitizing files by removing all complicated elements from DXF. Blocks will be exploded and replaced by simple DXF statements, LWPOLYLINE explanded to LINE and ARC segments, all kind of specialties will be removed and only simple LINE, CIRCLE and ARC will remain. Color attribute is correctly copied.

There is still support missing for ELLIPSE. I plan to support it eventually when I need it.

The python script is relying on the great ezDXF library from https://ezdxf.mozman.at/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published