diff options
Diffstat (limited to 'mech/production.scad')
-rw-r--r-- | mech/production.scad | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/mech/production.scad b/mech/production.scad index 52e4ece..448a439 100644 --- a/mech/production.scad +++ b/mech/production.scad @@ -1,24 +1,19 @@ include <parameters.scad> +use <pcb_case/conversion.scad> use <pcb_case/shell.scad> use <pcb_case/panel.scad> module production() { + dim = dim_pcb_to_case(pcb_dim, margins, t); spacing = 5; - pcb_case_shell_bottom( - dim, t, h, [ - base_socket, - base_socket + dx, - base_socket + dy, - base_socket + dx + dy - ] - ); + pcb_case_shell_bottom(pcb_dim, drillings, margins, t); translate([-spacing, 0, 0]) rotate([0, 180, 0]) translate([0, 0, -dim[2]]) - pcb_case_shell_top(dim, t); + pcb_case_shell_top(pcb_dim, margins, t); translate([-spacing, dim[1]+spacing, 0]) rotate([0, -90, 0]) |