Skip to content

Boxes.py - laser cutting boxes and more

License

Notifications You must be signed in to change notification settings

RaphaelDives/boxes

 
 

Repository files navigation

About Boxes.py

static/samples/NotesHolder.jpg static/samples/OttoBody.jpg static/samples/PaintStorage.jpg static/samples/ShutterBox.jpg static/samples/TwoPiece.jpg
  • Boxes.py is an online box generator
  • Boxes.py is an Inkscape plug-in
  • Boxes.py is library to write your own
  • Boxes.py is free software licensed under GPL v3+
  • Boxes.py is written in Python and runs with Python 3

Boxes.py comes with a growing set of ready-to-use, fully parametrized generators. See https://florianfesti.github.io/boxes/html/generators.html for the full list.

static/samples/AngledBox.jpg static/samples/FlexBox2.jpg static/samples/HingeBox.jpg

Features

Boxes.py generates SVG images that can be viewed directly in a web browser but also postscript and - with pstoedit as external helper - other vector formats including dxf, plt (aka hpgl) and gcode.

Of course the library and the generators allow selecting the "thickness" of the material used and automatically adjusts lengths and width of joining fingers and other elements.

The "burn" parameter compensates for the material removed by the laser. This allows fine tuning the gaps between joins up to the point where plywood can be press fitted even without any glue.

Finger Joints are the work horse of the library. They allow 90° edges and T connections. Their size is scaled up with the material "thickness" to maintain the same appearance. The library also allows putting holes and slots for screws (bed bolts) into finger joints, although this is currently not supported for the included generators.

Dovetail joints can be used to join pieces in the same plane.

Flex cuts allows bending and stretching the material in one direction. This is used for rounded edges and living hinges.

static/samples/TypeTray.jpg static/samples/BinTray.jpg static/samples/DisplayShelf.jpg
static/samples/AgricolaInsert.jpg static/samples/HeartBox.jpg static/samples/Atreus21.jpg

Documentation

Boxes.py comes with Sphinx based documentation for usage, installation and development.

The rendered version can be viewed at <https://florianfesti.github.io/boxes/html/index.html>.

About

Boxes.py - laser cutting boxes and more

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.2%
  • Jupyter Notebook 2.5%
  • Other 1.3%