12 anchor_wall_space = 45;
14 lidinner_thick_allow = 20;
21 // ----- calculated -----
24 gppB = gppA - [ wall_thick, 0 ];
26 gppL = [ gppB[0], -(lidinner_thick_allow + space + base_thick) ];
30 anchor_b = anchor_thick + anchor_rad;
31 appM = gppL + anchor_b * [1,1];
33 a_bevel = 2 * anchor_b * (1 + sqrt(0.5));
35 module upp_app_Vars(t_bevel){
36 $xppE = gppL + t_bevel * [0,1];
37 $xppF = gppL + t_bevel * [1,0];
39 $xppJ = $xppE + wall_thick * [ 1, tan(22.5) ];
40 $xppI = $xppF + base_thick * [ tan(22.5), 1 ];
45 module upp_app_Profile(){
56 module UsualProfile(){
57 upp_app_Vars(bevel) upp_app_Profile();
60 module NearAnchorProfile(){
61 upp_app_Vars(a_bevel) upp_app_Profile();
64 module AnchorProfile(){
65 upp_app_Vars(a_bevel) {
75 translate(appM) circle(r= anchor_b);
77 translate(appM) circle(r= anchor_rad);
82 module AnchorWallProfile(){
86 for (bev = [bevel, a_bevel]) {
98 translate([0,0,-2]) color("yellow") AnchorWallProfile();
99 color("red") AnchorProfile();
100 translate([0,0,2]) color("black") NearAnchorProfile();
101 translate([0,0,4]) color("blue") UsualProfile();