From 93fd175d169a49b52c2422e23870aa7f988070c2 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Fri, 22 Aug 2014 11:13:23 +0200 Subject: Support for a shelf --- parts/shelf_support_below.scad | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 parts/shelf_support_below.scad (limited to 'parts/shelf_support_below.scad') diff --git a/parts/shelf_support_below.scad b/parts/shelf_support_below.scad new file mode 100644 index 0000000..94da8d1 --- /dev/null +++ b/parts/shelf_support_below.scad @@ -0,0 +1,36 @@ +radius = 12.25; +len = 60; +wall = 4; + +screw_radius = 2.5; + +difference() { + union() { + cube([len, (radius+wall)*2, radius+wall]); + hull() { + translate([screw_radius+wall, -screw_radius-wall, 0]) + cylinder(r=screw_radius+wall, h=wall); + translate([len-screw_radius-wall, radius*2+wall*3+screw_radius, 0]) + cylinder(r=screw_radius+wall, h=wall); + } + hull() { + translate([screw_radius+wall, radius*2+wall*3+screw_radius, 0]) + cylinder(r=screw_radius+wall, h=wall); + translate([len-screw_radius-wall, -screw_radius-wall, 0]) + cylinder(r=screw_radius+wall, h=wall); + } + translate([screw_radius+wall, -screw_radius-wall, 0]) + cube([len-(screw_radius+wall)*2, screw_radius+wall, wall]); + translate([screw_radius+wall, (radius+wall)*2, 0]) + cube([len-(screw_radius+wall)*2, screw_radius+wall, wall]); + } + translate([-1, radius+wall, radius+wall]) rotate([0, 90, 0]) cylinder(r=radius, h=len+2); + translate([screw_radius+wall, -screw_radius-wall, -1]) + cylinder(r=screw_radius, h=wall+2); + translate([len-screw_radius-wall, radius*2+wall*3+screw_radius, -1]) + cylinder(r=screw_radius, h=wall+2); + translate([screw_radius+wall, radius*2+wall*3+screw_radius, -1]) + cylinder(r=screw_radius, h=wall+2); + translate([len-screw_radius-wall, -screw_radius-wall, -1]) + cylinder(r=screw_radius, h=wall+2); +} -- cgit v1.2.3