In what way does LibreCAD writing out .dxfs, or Solvespace or BRL-CAD having a human-readable file format option developed not suit your needs?
That said, I believe this would be helped immensely by an overview of CAD --- fortunately, one was published a while back, and dragged back from 404-ness by one CAD vendor:
That said, I believe this would be helped immensely by an overview of CAD --- fortunately, one was published a while back, and dragged back from 404-ness by one CAD vendor:
https://www.shapr3d.com/history-of-cad/introduction
a reading of that to understand the overall context would probably provide a solid foundation for your efforts.
There has been some recent discussion of making OpenSCAD and derivatives thereof more interactive:
https://groups.google.com/g/pythonscad/c/a-FVSiRnzhw
and various efforts/research:
https://www.reddit.com/r/openscad/comments/18wpaoz/investiga...
https://old.reddit.com/r/openscad/comments/1eswe2w/i_made_a_...
Try that latter at:
https://scriptcad.com/paulftw/2.0-demo
Agree w/ @jpm_sd that Dune 3D is well worth looking at (it's the only interactive 3D CAD where I was actually able to make it through the tutorial).