4 ms·
My current project for a while was in a state where it was necessary to keep code in 3 separate files: - gcodepreview.py (gcpy) --- the Python functions and va
by WillAdams 1y ago
My current project for a while was in a state where it was necessary to keep code in 3 separate files:
- gcodepreview.py (gcpy) --- the Python functions and variables
- pygcodepreview.scad (pyscad) --- the Python functions wrapped in OpenSCAD
- gcodepreview.scad (gcpscad) --- OpenSCAD modules and variables
as explained in: https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview-openscad_0_6.pdf https://github.com/WillAdams/gcodepreview/blob/main/gcodepre... and it worked quite well (far better than the tiled set of three text editor windows which I was using at first) and I find the ability to sequence the code for the separate files in a single master file very helpful.