Boxes.py


TwoPiece

A two piece box where top slips over the bottom half to form the enclosure.

Settings for Finger Joints

angle
style

style of the fingers

surroundingspaces

space at the start and end in multiple of normal spaces

bottom_lip

height of the bottom lips sticking out (multiples of thickness) FingerHoleEdge only!

edge_width

space below holes of FingerHoleEdge (multiples of thickness)

extra_length

extra material to grind away burn marks (multiples of thickness)

finger

width of the fingers (multiples of thickness)

play

extra space to allow finger move in and out (multiples of thickness)

space

space between fingers (multiples of thickness)

width

width of finger holes (multiples of thickness)

TwoPiece Settings

x

inner width in mm (unless outside selected)

y

inner depth in mm (unless outside selected)

h

inner height in mm (unless outside selected)

hi

inner height of inner walls in mm (unless outside selected)(leave to zero for same as outer walls)

outside

treat sizes as outside measurements 🛈

play

play between the two parts as multiple of the wall thickness

Default Settings

thickness

thickness of the material (in mm) 🛈

format

format of resulting file 🛈

tabs

width of tabs holding the parts in place (in mm)(not supported everywhere) 🛈

debug

print surrounding boxes for some structures 🛈

labels

label the parts (where available)

reference

print reference rectangle with given length (in mm)(zero to disable) 🛈

inner_corners

style for inner corners 🛈

burn

burn correction (in mm)(bigger values for tighter fit) 🛈



Set hi larger than h to leave gap between the inner and outer shell. This can be used to make opening the box easier. Set hi smaller to only have a small inner ridge that will allow the content to be more visible after opening.

Bottom view