summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mech/common.scad1
-rw-r--r--mech/pcb_case/panel.scad2
-rw-r--r--mech/pcb_case/rounded_cube.scad (renamed from mech/pcb_case/common.scad)3
-rw-r--r--mech/pcb_case/shell.scad4
4 files changed, 4 insertions, 6 deletions
diff --git a/mech/common.scad b/mech/common.scad
index 0ae93a8..4e05a72 100644
--- a/mech/common.scad
+++ b/mech/common.scad
@@ -1,4 +1,3 @@
-use <pcb_case/common.scad>
use <pcb_case/shell.scad>
use <pcb_case/panel.scad>
diff --git a/mech/pcb_case/panel.scad b/mech/pcb_case/panel.scad
index a42f3a8..df4baf1 100644
--- a/mech/pcb_case/panel.scad
+++ b/mech/pcb_case/panel.scad
@@ -1,4 +1,4 @@
-use <common.scad>
+use <rounded_cube.scad>
module pcb_case_panel(dim, t) {
rounded_cube([t,dim[1]-2*t,dim[2]-2*t], t);
diff --git a/mech/pcb_case/common.scad b/mech/pcb_case/rounded_cube.scad
index dfcf909..5f1dcee 100644
--- a/mech/pcb_case/common.scad
+++ b/mech/pcb_case/rounded_cube.scad
@@ -1,6 +1,3 @@
-use <bolt.scad>
-use <nut.scad>
-
module rounded_cube(dim, radius) {
range_y = [radius, dim[1]-radius];
range_z = [radius, dim[2]-radius];
diff --git a/mech/pcb_case/shell.scad b/mech/pcb_case/shell.scad
index d7bcecc..231455e 100644
--- a/mech/pcb_case/shell.scad
+++ b/mech/pcb_case/shell.scad
@@ -1,4 +1,6 @@
-use <common.scad>
+use <bolt.scad>
+use <nut.scad>
+use <rounded_cube.scad>
module shell_base(dim, t) {
radius = t;