From ae6368cd74c58fa3eaafb6e022e058e5af59bb87 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 23 Jul 2016 23:46:42 +0100 Subject: [PATCH] earring-stand: base base --- earring-stand.scad | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/earring-stand.scad b/earring-stand.scad index f4479a3..61eebe2 100644 --- a/earring-stand.scad +++ b/earring-stand.scad @@ -47,6 +47,9 @@ eclip_wall_offset = -ppxl; eclip_ra_offset = r2 - 0.1; +eclip_rhs_offset = ppxl + rgap + eclip_prong_th; +// does not include main_th + $fn=70; module EclipLPlanCore(alpha){ @@ -199,7 +202,25 @@ module ObjectJoins(objnum){ } module Base(){ - ObjectJoins(0); + xmin = pr[0] - eclip_rhs_offset - thicks[2]; + xmax = pp[0] + eclip_rhs_offset + thicks[1] + + eclip_prong_th * (1/cos(beta) - 1) + + eclip_base_offset * tan(beta); + intersection(){ + ObjectJoins(0); + translate([xmin, + -1, + -50]) + cube([xmax - xmin, + front_width + 2, + 300]); + } + translate([xmin, + 0, + -eclip_base_offset - thicks[0]]) + cube([xmax - xmin, + front_width, + thicks[0]]); } module Front(){ -- 2.30.2