summaryrefslogtreecommitdiff
path: root/mech/pcb_case
diff options
context:
space:
mode:
Diffstat (limited to 'mech/pcb_case')
-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
3 files changed, 4 insertions, 5 deletions
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;