Boxes.py
Keypad
Generator for keypads with mechanical switches.
Settings for Finger Joints
angle
style
rectangular
springs
style of the fingers
surroundingspaces
maximum space at the start and end in multiple of normal spaces
edge_width
space below holes of FingerHoleEdge
finger
width of the fingers
play
extra space to allow finger move in and out
space
space between fingers
width
width of finger holes
Keypad Settings
h
height of the box
top1_thickness
thickness of the button hold layer, cherry like switches need 1.5mm or smaller to snap in
top2_enable
enables another top layer that can hold CPG151101S11 hotswap sockets
top2_thickness
thickness of the hotplug layer, CPG151101S11 hotswap sockets need 1.2mm to 1.5mm
pcb_mount_enable
adds holes for pcb mount switches
led_enable
adds pin holes under switches for leds
diode_enable
adds pin holes under switches for diodes
cutout_type
Shape of the plate cutout: 'castle' allows for modding, and 'simple' is a tighter and simpler square
columns_definition
Each column is separated by '/', and is in the form 'nb_rows @ offset x repeat_count'. Nb_rows is the number of rows for this column. The offset is in mm and optional. Repeat_count is optional and repeats this column multiple times. Spaces are not important.For example '3x2 / 4@11' means we want 3 columns, the two first with 3 rows without offset, and the last with 4 rows starting at 11mm high.
Default Settings
thickness
thickness of the material
format
ai
dxf
gcode
pdf
plt
ps
svg
svg_Ponoko
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
reference
print reference rectangle with given length (zero to disable)
burn
burn correction in mm (bigger values for tighter fit). Use BurnTest in "Parts and Samples" to find the right value.
Generate
Save to URL