Okay, the basic rectangular generator is ready for testing:
OpenSCAD:
and you’ll want the JSON to have a preset named “export”: https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3d_box_fitted_openscad.json
Then download:
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfitted.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfitted.tex
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedfigure0.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedfigure1.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedfigure2.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedfigures.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedpostamble.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedpreamble.mp
- https://github.com/WillAdams/Design_Into_3D/blob/master/designinto3dboxfittedsettings.mp
(you’ll also need: https://github.com/rxi/json.lua )
If you run the .tex file it will make a PDF:
If you run the designinto3dboxfittedfigures.mp file it will make the SVGs: