discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Library for Python version of OpenSCAD got making G-code to cut designs

WF
William F. Adams
Mon, Oct 2, 2023 2:40 AM

Just put up an initial version of this.
Made a template file:
https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview_template.scad

Place the library files:
https://github.com/WillAdams/gcodepreview/blob/main/pygcodepreview.scad
https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview.py
https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview.scad
in the OpenSCAD library folder to get a gcode file:

Still needs testing and some expansion, but it's in a hopefully workable state --- made a post on this on the Maker Forums:
https://forum.makerforums.info/t/openscad-and-python-looking-to-finally-be-resolved/88171/39

If anyone tries it or has any questions, I'd be glad to know or try to help out.
William

Just put up an initial version of this. Made a template file: https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview_template.scad Place the library files: https://github.com/WillAdams/gcodepreview/blob/main/pygcodepreview.scad https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview.py https://github.com/WillAdams/gcodepreview/blob/main/gcodepreview.scad in the OpenSCAD library folder to get a gcode file: Still needs testing and some expansion, but it's in a hopefully workable state --- made a post on this on the Maker Forums: https://forum.makerforums.info/t/openscad-and-python-looking-to-finally-be-resolved/88171/39 If anyone tries it or has any questions, I'd be glad to know or try to help out. William