Spiritdude / OpenSCAD.jscad

Small wrapper for converting OpenSCAD .scad files to OpenJsCad .jscad files, openjscad (CLI) .jscad to .stl on command-line.
46 stars 11 forks source link

How would I include my own JS lib into a JSCAD script. #3

Closed SteveStrong closed 9 years ago

SteveStrong commented 9 years ago

This look like a create tool, however I can created my rules in my own library (in JavaScript) and would like to use them to generate geometry. Is this possible? Do you have examples?

Spiritdude commented 9 years ago

Use include() for now, perhaps later NPMJS might be supported too.