Supriya Ghosh (Editor)

ShapeJS

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

ShapeJS is a Javascript-based language for creating 3D printable products and fully interactive Creator applications. Hosted by Shapeways, it is a cloud based system for creating 3D objects and web apps that make 3D printable things.

Contents

A series of blog posts by Alan Hudson show how to code in the language and provide scripts for making many different objects including many jewelry and housewares items.

Previewing

For fast previewing of models ShapeJS provides a cloud based web service that turns ShapeJS into images at real time speeds. This allows very thin clients without graphics hardware to visualize the scripts. In addition it protects the underlying code and 3d models of the author by not sending the contents to the user.

Preview is relatively fast and allow interactive modifications while modifying the script.

Underlying Representation

ShapeJS uses a combination of signed distance functions and voxel representations. This avoids some typical accuracy issues with triangle based representations when doing solid modeling. Allowing per-voxel level control enables generation of printable products at printer native resolutions. This representation also makes it easy to use high resolution image data in designs to leverage 2D art in making 3D objects.

Exportation

Views can be exported in png and jpg format.

3D parts can be exported in X3D(color) and STL(non color). In addition an experimental voxel format called SVX can be used to export complete volumes.

References

ShapeJS Wikipedia