gcodepreview
A system that allows Open(Python)SCAD to model cuts for CNC machines using G-code, and which has just added support for 3D printing via Full-control G-code. It previously integrated with OpenSCAD via an interface layer, and the goal is to restore compatibility with the OpenSCAD Graph Editor.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
gcodepreview
A system that allows Open(Python)SCAD to model cuts for CNC machines using G-code, and which has just added support for 3D printing via Full-control G-code. It previously integrated with OpenSCAD via an interface layer, and the goal is to restore compatibility with the OpenSCAD Graph Editor.
Posted by @WillAdams · Original source ↗
Source text · @WillAdams · · Source ↗
Still working on a system for allowing Open(Python)SCAD to model cuts for a CNC using G-code, and just added support for 3D Printing via Full-control G-code: https://github.com/WillAdams/gcodepreview
gcodepreview
This tool previews G-code, rendering toolpaths as geometry. A rewrite in progress replaces deeply nested CSG union commands with geometry collected in a pair of lists via append/extend and a single union operation, producing a flatter structure; support for METAFONT/METAPOST curves is planned next.
Posted by @WillAdams · Original source ↗
Source text · @WillAdams · · Source ↗
Still chugging away at: https://github.com/WillAdams/gcodepreview Currently finishing up a re-write which changes from using union commands (which resulted in an ever more deeply nested CSG tree) to collecting everything in a pair of lists using append/extend and then applying one each union operation, resulting a flatter structure.
gcodepreview
A tool for generating DXF files and G-code toolpaths for CNC machining, built as part of a Python-in-OpenSCAD workflow. Planned next stages include Bézier curves/NURBS support, a system for single line fonts (possibly extending into an interactive METAFONT programming system), and more efficient algorithms for toolpath generation.
Problem: Toolpath generation is currently slow: a 1" x 2" x 1" test case took ~18 minutes to calculate on an i7 and generated a ~127MB toolpath file.
Posted by @WillAdams · Original source ↗
Source text · @WillAdams · · Source ↗
to make DXFs and G-code: https://github.com/WillAdams/gcodepreview
gcodepreview
A library for the Python-enabled fork of OpenSCAD (PythonSCAD) that writes out DXF files and G-code and models how G-code will cut in 3D. It is written in a TeX editor using a Literate Programming system the author developed while building it, with a PDF that gives an overview and contains all the code.
Posted by @WillAdams · Original source ↗
Source text · @WillAdams · · Source ↗
A small library which uses a fork of OpenSCAD which adds Python support: https://pythonscad.org/ to allow writing out DXF files and G-code and modeling how G-code will cut in 3D:
gcodepreview (OpenPythonSCAD library)
An OpenPythonSCAD library for modeling 3D cutting with a CNC router, currently being rewritten in Python (progress is stalled on variable scope issues).
Posted by @WillAdams · Original source ↗
Source text · @WillAdams · · Source ↗
(Still) working on an OpenPythonSCAD library for modeling 3D cutting with a CNC router: https://github.com/WillAdams/gcodepreview Trying to re-write the whole thing in Python, but am stuck due to variable scope issues.
gcodepreview
A literate-programming OpenSCAD library for the Python-enabled version of OpenSCAD that generates DXF and G-code files for CNC projects, with the goal of supporting CNC joinery not possible with other tools.
Problem: Getting the code to an actually useful state and enabling CNC joinery that isn't possible with other tools.
Posted by @WillAdams · Original source ↗
Source text · @WillAdams · · Source ↗
Trying to use Literate Programming to create an OpenSCAD library for a Python-enabled version of OpenSCAD which is able to create DXF and G-code files for creating CNC projects: