https://github.com/pythonscad/pythonscad
https://github.com/WillAdams/gcodepreview/blob/main/dxfexpor...
(shows a DXF w/ arcs)
https://github.com/WillAdams/gcodepreview/blob/main/gcpdxf.p...
(shows a .py file for making DXFs)
See the PDF at the top level for more information.