module DemoHingeAngle(ang1,ang2){
hL = [0, -(phone_height - hppT[0]), hppT[1]];
- hC = [0, -(phone_height - hppB[0]), hppB[1] - hp_k*2];
+ hC = [0, -(phone_height - hppB[0]), hppB[1]];
translate(hL)
rotate([ang2,0,0])
}
module DemoHingeAngles(){ ////toplevel
- DemoHingeAngle(0,12);
-// for (i=[0 : len(prop_angles)-1])
-// translate(i * [0, -100, 100])
-// DemoHingeAngle(prop_angles[i]);
+ angles = [ 0, 6, 12, 16, 24, 36 ];
+ echo("angles",angles);
+ for (i=[0 : len(angles)-1]) {
+ translate(i * [0, 0, 30]) {
+ DemoHingeAngle(0,angles[i]);
+ translate([0, 200, 0])
+ DemoHingeAngle(angles[i],0);
+ }
+ }
}
module DemoSelectAdhocLeftRight(right=0) {