boxespy/README.rst

54 lines
1.7 KiB
ReStructuredText
Raw Normal View History

2013-04-16 11:42:02 +02:00
What is this?
=============
This is a small python library for generating SVG drawings used for
2016-03-20 14:08:53 +01:00
cutting out boxes or other structures using a laser cutter.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
It also comes with a set of ready-to-use, fully parametrized generators:
2016-03-29 22:18:37 +02:00
2016-03-29 22:20:03 +02:00
* Various simple boxes
* Flex boxes with rounded corners and living hinges
* Type trays with and without walls and floors
* Book cover with flex spine
* Magazine file
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
And a few one trick ponies:
2016-03-29 22:18:37 +02:00
2016-03-29 22:20:03 +02:00
* A drill stand
* A castle tower
* A housing for a special kind of lamp
* A cutlery stand
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
Have a look into the examples/ directory to see how the results look like.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
Features
========
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
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.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
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.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
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 libray also allows
putting holes and slots for screws (bed bolts) into finger joints,
although this is currently not supported for the finished generators.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
Dovetail joints can be used to join pieces in the same plane.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
Flex allows bending and streching the material in one direction. This
is used for rounded edges and living hinges.
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
Usage
=====
2013-04-16 11:42:02 +02:00
2016-03-20 14:08:53 +01:00
There are two ways to use the available generators:
2016-03-29 22:18:37 +02:00
2016-03-29 22:20:03 +02:00
* Execute the scripts/boxes tool and pass the name of the generator
2016-03-20 14:08:53 +01:00
together with the measurements on the command line
2016-03-29 22:20:03 +02:00
* Run scripts/boxesserver which provides an web interface on port 8000