Learn Reference Forum Discord

JSCAD

Create 3D designs using JavaScript


Create 3D designs by writing simple code

Example of the JSCAD logo

Start by creating a text file in the editor of your choice. Save it with a .js file extension, and when you are ready, drag it onto the JSCAD modeling window.
Here's the file for the JSCAD Logo design Download

Try it

Reuse other JSCAD designs

Find a design at NPM.org, and import it. Then use the imported design to create any number of parts.
Here's the file for the Box design Download

Try it


Export designs for printing

Export STL meshes for simple 3D printing

All 3D slicers support STL meshes. Just select STL from the list of supported formats, and export. Try exporting from the Parametric Gear example.

Try it

Export 3MF packages for multi-color 3D printing

Many 3D slicers support 3MF packages, which allows multi-part, multi-color 3D printing. Just select 3MF from the list of supported formats, and export.
Here's the file for the Nameplate design Download

Try it

Supported formats

JSCAD supports all the standard file formats for 3D printing, mesh exchange, and design sharing.

Format Notes Reference
AMF Additive Manufacturing format for 3D objects Wikipedia: AMF
DXF AutoCad Drawing Interchange format for 2D and 3D objects Wikipedia: DXF
JSON JSON (JavaScript Object Notation) is a lightweight data-interchange format JSON.org
OBJ Wavefront Geometry File format Wikipedia: OBJ
STL STL format for the surface geometry of 3D objects Wikipedia: STL
SVG Scalable Vector Graphics for 2D objects SVG Standard
X3D Web3D format for 3D objects Web3D.org
3MF 3MF format for 3D printing 3MF.io

Create complex 3D designs

Create projects with multiple parts

Need more? Complex designs always require parts. JSCAD supports folders which can have any number of parts. Assemble or create the parts, drop them into a folder. and use them to create a super design.

Try it

Use STL, Fonts, SVG files inside designs

Grab any STL file from Thingiverse or Printables, and use the STL mesh (shape) in designs. Move it, join it, cut it. It's all possible.
Here's the Spinners project to get started Download

Try it

SVG files can also be imported. Bring in one of the super cool SVG images, and extrude it to 3D. Then add the 3D shape to personalize designs.
Here's the Panda project to get started Download

Try it

Include other Javascript libraries

There are no limitations. Add any library; math, statistic, image processing, etc.
Checkout the file for the QRCODE design Download

Try it


Do even more with JSCAD

Embed JSCAD in websites

Create a simple website using the website components of JSCAD.

Jump to site

Create a custom website using the core components of JSCAD.

Jump to site

Use JSCAD in command line tools

tbw

Try it


Join a community of thousands

Jump online and chat with other designers and developers.

Share designs and learn how to do even more.


Convert OpenSCAD to JSCAD