From 0546502db81b184a4be3aae1093d86c49ffda3bd Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Thu, 14 Apr 2022 20:28:00 -0500 Subject: Dead code elimination >.< --- box/box.scad | 17 +---------------- box/simple_box.scad | 17 +---------------- 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 +} -- cgit v1.2.3-18-g5258