This package facilitates parsing, formatting and validating the OpenSCAD language using TypeScript and JavaScript.
Loading README and project media…
This package facilitates parsing, formatting and validating the OpenSCAD language using TypeScript and JavaScript.
$ npm i -g openscad-parser
Usage:
$ scadfmt <file> # outputs the formatted OpenSCAD code to stdout
npm install openscad-parser
I will soon release a vscode extension with full OpenSCAD support, it just needs some more work.
The API documentation is available here.