open_gap = 10;
+hinge_unit = 10;
+hinge_units = 4;
+hinge_z_gap = 1;
+
// calculated
pin_dia = th;
flats_y = open_gap/2 + th;
+stride_z = hinge_unit*2 + hinge_z_gap*2;
+total_z = hinge_units * stride_z - hinge_z_gap;
+
$fa = 3;
$fs = 0.1;
}
}
+module HalfClamp(){
+ linextr(0, total_z) mirror([0,1]) MainPlanB();
+ for (i=[0 : hinge_units-1]) {
+ translate([0,0, stride_z*i])
+ linextr(0, hinge_unit) MainPlanA();
+ }
+}
+
module PlanDemo(){
MainPlan();
translate([0,0,-4]) color("red") Portion(1);
// translate([max_x - hinge_x + 20, 0]) color("blue") MainPlanA();
}
-PlanDemo();
+//PlanDemo();
+HalfClamp();