Skip to content

jackcannon/boxbuilder

 
 

Repository files navigation

BoxBuilder

logo

This is a fork of joshmarinacci's boxbuilder repo

A lot of cosmetic stuff has changed, but the underlying idea and logic comes from there

Web GUI tool to generate STLs of boxes with lids for 3D printing.

See the live app here

screenshot in dark mode screenshot in light mode

How it works

The core of the code is pretty simple.

  • It's a React app with sliders made with create-react-app.
  • The fancy math is done with JSCad libraries.
  • Sliders modify a small data model of the box.
  • When model changes it calls box_to_solids() to produce JSCad geometry solids.
  • jscad-react does the interactive 3D rendering (presumably with ThreeJS underneath).
  • export_stl() uses a JSCad serializer to generate the STL as a binary blob
  • force download the blob as box.stl.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages