9 lidinner_thick_allow = 20;
15 // ----- calculated -----
18 gppB = gppA - [ wall_thick, 0 ];
20 gppL = [ gppB[0], -(lidinner_thick_allow + space + base_thick) ];
24 anchor_b = anchor_thick + anchor_rad;
25 appM = gppL + anchor_b * [1,1];
27 a_bevel = 2 * anchor_b * (1 + sqrt(0.5));
29 module upp_app_Profile(t_bevel){
30 xppE = gppL + t_bevel * [0,1];
31 xppF = gppL + t_bevel * [1,0];
33 xppJ = xppE + wall_thick * [ 1, tan(22.5) ];
34 xppI = xppF + base_thick + [ tan(22.5), 1 ];
46 module UsualProfile(){
47 upp_app_Profile(bevel);
50 module NearAnchorProfile(){
51 upp_app_Profile(a_bevel);
54 module AnchorProfile(){
55 xppE = gppL + t_bevel * [0,1];
56 xppF = gppL + t_bevel * [1,0];
58 upp_app_Profile(a_bevel);
66 translate(appM) circle(r= anchor_b);
68 translate(appM) circle(r= anchor_rad);
73 color("red") AnchorProfile();
74 translate([0,0,2]) color("black") NearAnchorProfile();
75 color("blue") UsualProfile();