summaryrefslogtreecommitdiff
path: root/gimbal.scad
diff options
context:
space:
mode:
Diffstat (limited to 'gimbal.scad')
-rw-r--r--gimbal.scad29
1 files changed, 26 insertions, 3 deletions
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();
-}
contact: Jan Huwald // Impressum