generator-jscad
v2.2.0
Published
Create a jscad project
Downloads
3
Readme
generator-jscad
Create a jscad project
Installation
First, install Yeoman and generator-jscad using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-jscad
Then generate your new project:
yo jscad
You can select the type of project you want to build. A single object project is the default. You can create a multi object project with selection via a dropdown list or a set of check boxes. These are more complex, but allow you to organize and view a much larger project.
You can also create a VuePress site with a live viewer.
Running
The jscad project uses gulp to create a dist
directory and watch for changes. You can drag the dist
directory into the drop area on openjscad.org. Make sure you check Auto Reload
and any time you save, glup will recreate the dist
directory files and your model should refresh.
jscad-utils
The example project uses jscad-utils. This is a set of utilities that make object creation and alignment easier. To remove it, npm uninstall --save jscad-utils
.
License
MIT © John Cole