I’ve just posted a new article about better DXF output.
There seems little support for programmatically generating DXFs that work across lots of CAD programs. The python module I’m using with mazepuzzlebox exports OK to QCAD, but the generated bits don’t show up in other CAD programs.
I’ve also had lots of problems maintaining size with DXFs. So I’m in the process of converting the whole system to use SVG. This works well in terms of sizing, and has the advantage of being able to be viewed in a modern web browser.
I have been experimenting with svgwrite and pysvg. Neither are well documented, so check the examples for how to actually do stuff. I’ve used svgwrite for my parametric go board generator, but pysvg for the graphics generation for the solar tree.