From c94aed4a63fb92bfb571ff4709646e7c1cfc14b0 Mon Sep 17 00:00:00 2001 From: Jan Huwald Date: Thu, 22 Jan 2015 16:12:55 +0100 Subject: split shell in two parts for easier wall (de)mounting diff --git a/gimbal.scad b/gimbal.scad index c2404ca..4e1857a 100644 --- a/gimbal.scad +++ b/gimbal.scad @@ -76,7 +76,30 @@ module shell() { } } -union() { -shell(); +module shell_splitter() + assign(w1 = d + 2*c + e) + assign(w2 = mount_screw_head_dia + 2*c) + assign(h = base + c) + translate([-w1/2, -w2/2, -h - d/2]) { + cube([w1, w2, 2/3*h+e]); + + rotate([90, 0, 90]) + translate([w2/2, 2/3*h, 0]) + cylinder(h=w1, r=w2/2); + } + +module shell_upper() + difference() { + shell(); + translate([0, 0, -e]) shell_splitter(); + } + +module shell_lower() + intersection() { + shell(); + shell_splitter(); + } + +translate([0, 0, -3*base]) shell_lower(); +shell_upper(); translate([0,0,20]) rotate([90, 0, 90]) ball(); -} -- cgit v0.10.1