Socket
Socket
Sign inDemoInstall

generator-jscad

Package Overview
Dependencies
6
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-jscad

Create a jscad project


Version published
Maintainers
1
Created

Readme

Source

generator-jscad NPM version

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.

yo jscad cli example

You can also create a VuePress site with a live viewer.

example vuepress site

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

Keywords

FAQs

Last updated on 13 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc