}
}
-module SomeClamp(){
+module SomeClamp(hinge_alt=false){
difference(){
linextr(-clamp_width/2, clamp_width/2)
children(0);
for (i=[0 : hinge_lobes-1]) {
translate([0,
hinge_y,
- -clamp_width/2 + i * hinge_stride])
+ -clamp_width/2 + i * hinge_stride
+ + (hinge_alt ? hinge_stride/2 : 0)
+ ])
linextr(-hinge_gap_z, hinge_stride/2)
square(hinge_outer_r*2 + hinge_gap_xy, center=true);
}
module TubeClampLeft() { ////toplevel
difference(){
- SomeClamp()
+ SomeClamp(true)
TubeClampLeftPlan();
translate([0, screw_y, 0]) {
TubeClampRightPlan();
}
-//TubeClampLeft();
-//TubeClampRight();
-
+module TubeClampDemo() { ////toplevel
+ TubeClampLeft();
+ TubeClampRight();
+}