Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 647 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 647 Bytes

JSCAD Typescript Template

A template for creating JSCAD scripts in Typescript.

Getting Started

Create a new project using this template:

Either click the green Use this template button on Github or use degit in the directory you want to project to be in:

npx degit https://github.com/isfopo/jscad-ts-template my-project

Run npm install to install dependencies.

Development

Run npm start to watch for changes and rebuild.

Right click on the src/index.ts file and select Preview JSCAD Model to see the object.

Edit src/index.ts to add your code.

Build

To export an STL file with JSCAD run npm build.