summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}