6 eclip_outer_strt = 0.5;
7 eclip_inner_xstrt = 0.5;
10 eclip_base_epsilon = 0.5;
13 eclip_each_every = 15;
19 test_len = eclip_each_len + eclip_each_every*(test_eclips-1);
25 eclip_inner_strt = eclip_outer_strt + eclip_inner_xstrt;
28 r1 = r0 + eclip_gap_rad;
29 r2 = r1 + eclip_prong_th;
30 r2e = r1 + eclip_base_epsilon;
32 ppxl = -(r0 / sqrt(2)) + (eclip_inner_strt / sqrt(2));
36 eclip_base_offset = r1;
40 module EclipLPlanCore(alpha){
41 FArcSegment(0,0, r1,r2,
42 180-eclip_ult_angle, eclip_ult_angle-alpha +1);
48 rotate(-alpha) mirror([1,1]) square([r2e, 50]);
50 rotate(-alpha) mirror([1,1]) square([r2e, r2]);
56 module EclipRPlan(alpha, main_th){
59 translate([ppxl + main_th + rgap, -r2*2])
60 square([eclip_prong_th, r2*(2 + 1/sqrt(2))]);
61 translate([-r2, -r2e])
62 square([r2*3, eclip_base_epsilon + r2*4]);
66 module EclipLPlan(alpha){
67 rotate(alpha) EclipLPlanCore(alpha);
70 module EclipPPlan(main_th){
74 rotate(90-eclip_ult_angle) square([r0,r0]);
76 translate([-(r0+.1), -(r0+.1)])
77 square([(r0+.1) + main_th + ppxl, r2*2]);
79 translate([ppxl, 0]) square([main_th, r2]);
83 translate([0,0, eclip_base_offset]){
84 for (i=[0 : 2: test_eclips-1]) {
85 translate([0, i*eclip_each_every])
87 linear_extrude(height=eclip_each_len)
88 EclipLPlan(test_alpha);
90 for (j=[1 : 2: test_eclips-2]) {
91 translate([0, j*eclip_each_every])
93 linear_extrude(height=eclip_each_len)
94 EclipRPlan(test_alpha, test_main_th);
97 translate([-r2, -eclip_each_len, -test_base_th])
104 color("red") EclipLPlan(test_alpha);
105 color("blue") rotate(test_alpha) EclipPPlan(test_main_th);
106 color("green") EclipRPlan(test_alpha, test_main_th);