summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2022-04-14 20:28:00 -0500
committerDavid Barksdale <amatus@amat.us>2022-04-14 20:28:00 -0500
commit0546502db81b184a4be3aae1093d86c49ffda3bd (patch)
treea7efb730208f82644e1c13eb37d0d44785f4210f
parentecb117cf0e214ac643bd7bbb6ca9d6fd974e36f8 (diff)
Dead code elimination >.<
-rw-r--r--box/box.scad17
-rw-r--r--box/simple_box.scad17
2 files changed, 2 insertions, 32 deletions
diff --git a/box/box.scad b/box/box.scad
index 5c53432..13ce38a 100644
--- a/box/box.scad
+++ b/box/box.scad
@@ -1,18 +1,3 @@
-
-
-module RoundBox(length, width, height, radius)
-{
- translate([0, radius, radius])
- {
- minkowski()
- {
- cube([length / 2, width - 2 * radius, height - 2 * radius]);
- rotate([0, 90, 0])
- cylinder(r=radius, h=length / 2, center=false);
- }
- }
-}
-
IN = 25.4;
origin_x = 3.85 * IN;
origin_y = 4.85 * IN;
@@ -279,4 +264,4 @@ difference() {
sl_plug();
}
}
-} \ No newline at end of file
+}
diff --git a/box/simple_box.scad b/box/simple_box.scad
index 585668e..403cbc7 100644
--- a/box/simple_box.scad
+++ b/box/simple_box.scad
@@ -1,18 +1,3 @@
-
-
-module RoundBox(length, width, height, radius)
-{
- translate([0, radius, radius])
- {
- minkowski()
- {
- cube([length / 2, width - 2 * radius, height - 2 * radius]);
- rotate([0, 90, 0])
- cylinder(r=radius, h=length / 2, center=false);
- }
- }
-}
-
IN = 25.4;
origin_x = 3.85 * IN;
origin_y = 4.85 * IN;
@@ -176,4 +161,4 @@ difference() {
lid_diagrams();
}
}
-} \ No newline at end of file
+}