ShapeJS

ShapeJS is a JavaScript-based programming 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.

A series of blog posts by Alan Hudson shows how to code in the language and provides scripts for making many different objects including many jewelry and housewares items.[1]

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 allows interactive modifications while modifying the script.

Underlying Representation

ShapeJS uses a combination of signed distance functions and voxel representations. A voxel is similar to a 2D pixel but it represents a volume element in 3 dimensional space. 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 without compromising functional design.[2]

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.[3]

See also

  • OpenSCAD Script based system for creating CAD objects and inspiration for ShapeJS

References

  1. ^ Hudson, Alan. "Shapeways Blog".
  2. ^ "Make Apps with ShapeJS". shapejs.shapeways.com. Retrieved 2023-09-20.
  3. ^ "SVX Format". 12 September 2014.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.