eclip_ult_angle = 44;
eclip_base_epsilon = 0.5;
+test_alpha = 10;
+
// calculated
include <utils.scad>
rotate(alpha) EclipLPlanCore(alpha);
}
-module EclipPPlanCore(main_th){
+module EclipPPlan(main_th){
intersection(){
hull(){
circle(r0);
- rotate(45) square([r0,r0]);
+ rotate(90-eclip_ult_angle) square([r0,r0]);
}
translate([-(r0+.1), -(r0+.1)])
square([(r0+.1) + main_th + ppxl, r2*2]);
translate([ppxl, 0]) square([main_th, r2]);
}
-color("red") EclipLPlanCore(10);
-color("blue") EclipPPlanCore(1.5);
+color("red") EclipLPlan(test_alpha);
+color("blue") rotate(test_alpha) EclipPPlan(1.5);