diff options
Diffstat (limited to 'gimbal.scad')
-rw-r--r-- | gimbal.scad | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gimbal.scad b/gimbal.scad index 88e8554..c2404ca 100644 --- a/gimbal.scad +++ b/gimbal.scad @@ -17,12 +17,27 @@ module screw() { cylinder(r=screw_dia/2, h=screw_len); } +module grip() + for (i = [0:19]) + rotate(i*360/20) + translate([d/2-3, 0, -5/2]) + cube([3,2,5]); + module ball() difference() { sphere(d/2); translate([0, 0, d/2 - cutoff - screw_len + e]) screw(); for (i = [-1,1]) translate([0, 0, i * (d - cutoff)]) cube(d, center=true); + + // horizontal grip + grip(); + // vertical grip at the upper half sphere (but not at the top) + difference() { + rotate([90, -5, 0]) grip(); + cylinder(r1=0, r2=sqrt(pow(d/2, 2) - pow(d/2-cutoff, 2)), h=d/2-cutoff); + translate([0, 0, -d+4]) cylinder(r=d/2, h=d); + } } module shell() { |