This was mentioned at:
https://forum.makerforums.info/t/g-code-preview-using-openscad-rapcad/85729
and the Python aspect discussed at:
https://forum.makerforums.info/t/openscad-and-python-looking-to-finally-be-resolved/88171
(and in various threads here)
Next up is exporting SVGs --- this is working now, except for the problem of SVGs having a different coordinate space from OpenSCAD and DXFs, so when exported, they are mirror-imaged top--bottom --- may need to do yet another re-write to allow this to be handled in a reasonable fashion --- unless someone has some nifty mathematical solution which I can pound into my thick head.
https://github.com/WillAdams/gcodepreview
Still using OpenSCAD Graph Editor for the editing interface, but the joinery is working:
(OpenSCAD file for that attached if anyone is curious)
I'm going to re-work the file interface a bit --- it may be that I can make DXFs work, I'll just write out separate files for each.
William
-- Sphinx of black quartz, judge my vow.https://designinto3d.com/