From b60e06926f8774509420e76596072b33fa374341 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 23 Jul 2016 14:11:03 +0100 Subject: [PATCH] earring-stand: reorg a bit, test alpha --- earring-stand.scad | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/earring-stand.scad b/earring-stand.scad index 5b3cd9e..805fe0f 100644 --- a/earring-stand.scad +++ b/earring-stand.scad @@ -9,6 +9,8 @@ eclip_inner_xstrt = 0.5; eclip_ult_angle = 44; eclip_base_epsilon = 0.5; +test_alpha = 10; + // calculated include @@ -44,11 +46,11 @@ module EclipLPlan(alpha){ 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]); @@ -56,5 +58,5 @@ module EclipPPlanCore(main_th){ 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); -- 2.30.2