summaryrefslogtreecommitdiff
path: root/mech/pcb_case/pcb.scad
diff options
context:
space:
mode:
Diffstat (limited to 'mech/pcb_case/pcb.scad')
-rw-r--r--mech/pcb_case/pcb.scad4
1 files changed, 3 insertions, 1 deletions
diff --git a/mech/pcb_case/pcb.scad b/mech/pcb_case/pcb.scad
index 23602be..e742eb5 100644
--- a/mech/pcb_case/pcb.scad
+++ b/mech/pcb_case/pcb.scad
@@ -1,5 +1,7 @@
+include <nut.scad>
+
module pcb(dim, drillings, margins, t) {
- translate([2*t+margins[0][0], 2*t+margins[1][0], t+margins[2][0]]) {
+ translate([2*t+margins[0][0], t+2*nut_h+margins[1][0], t+margins[2][0]]) {
difference() {
cube([dim[0], dim[1], dim[2]]);
for (drilling = drillings) {