Public
Likestl-creator
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v32View latest version
A web-based 3D model viewer and generator for creating printable STL files directly in your browser.
https://www.val.town/x/dcm31/stl-viewer/code/README.md
- π¨ Generate 3D models procedurally using Three.js
- ποΈ Interactive 3D viewer with orbit controls
- πΎ Export models as STL files for 3D printing
- π¦ Pre-built examples: Vase, Gear, Castle, Kratky, and Duck
Visit the live viewer and select from the example gallery to view and download pre-built models.
You'll need to remix this val first! Click the "Remix" button at the top of the Val Town editor to create your own copy that you can edit.
Once you've remixed this val:
- Create a new file in
examples/yourModel.ts - Define your model following the
Exampleinterface - Add the import and array entry in
examples.ts
That's it! The viewer will automatically pick up your new model.