include <utils.scad>
-$hinge_pin_dia = 0.795 + 0.35;
+$hinge_pin_dia = 0.795 + 0.75;
$hinge_main_dia = 4.0;
$hinge_inter_gap = 0.50;
$hinge_prong_minwidth = 3.0;
}
}
+test_l = 30;
+test_wb = 12;
+test_h = 12;
+
+test_face_gap = 0.75;
+
module Demo(){
difference(){
- HingePositive(30, 10);
- %HingeNegative(30);
+ HingePositive(test_l, test_h/2);
+ %HingeNegative(test_l);
+ }
+}
+
+module TestBody(){
+ linextr_x_yz(0, test_l){
+ offset(delta = -test_face_gap/2)
+ polygon([[0,0],
+ [-test_wb/2, -test_h],
+ [+test_wb/2, -test_h]]);
+ }
+}
+
+module Test(){
+ difference(){
+ union(){
+ TestBody();
+ HingePositive(test_l, test_h/2);
+ }
+ HingeNegative(test_l);
}
}
//PlanDemo();
-Demo();
+//Demo();
+//TestBody();
+Test();