summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mech/back.scad2
-rw-r--r--mech/bottom.scad2
-rw-r--r--mech/common.scad3
-rw-r--r--mech/front.scad2
-rw-r--r--mech/top.scad2
5 files changed, 8 insertions, 3 deletions
diff --git a/mech/back.scad b/mech/back.scad
index 16f6c2e..ef541cb 100644
--- a/mech/back.scad
+++ b/mech/back.scad
@@ -1,5 +1,7 @@
include <common.scad>
+use <pcb_case/panel.scad>
+
module back() {
pcb_case_panel_back(dim, t);
}
diff --git a/mech/bottom.scad b/mech/bottom.scad
index cac355e..195244f 100644
--- a/mech/bottom.scad
+++ b/mech/bottom.scad
@@ -1,3 +1,5 @@
+use <pcb_case/shell.scad>
+
include <common.scad>
module bottom() {
diff --git a/mech/common.scad b/mech/common.scad
index cfb27f2..eb2d368 100644
--- a/mech/common.scad
+++ b/mech/common.scad
@@ -1,6 +1,3 @@
-use <pcb_case/shell.scad>
-use <pcb_case/panel.scad>
-
t = 2;
tol = 1;
base_socket = [3/2+2.3+2*t+tol,3/2+2.1+2.7+t+tol];
diff --git a/mech/front.scad b/mech/front.scad
index e35c146..aca7e23 100644
--- a/mech/front.scad
+++ b/mech/front.scad
@@ -1,5 +1,7 @@
include <common.scad>
+use <pcb_case/panel.scad>
+
module front() {
pcb_case_panel_front(dim, t);
}
diff --git a/mech/top.scad b/mech/top.scad
index 55882f0..114ae16 100644
--- a/mech/top.scad
+++ b/mech/top.scad
@@ -1,5 +1,7 @@
include <common.scad>
+use <pcb_case/shell.scad>
+
module top() {
difference() {
pcb_case_shell_top(dim, t);