+ cube(offr*2 - 0.1, center=true);
+ translate([offr, offr, 0])
+ cylinder(center=true, h=20, r= offr);
+ }
+ }
+}
+
+module RoundCornerAdd(ci) {
+ this_cnr = ci[0];
+ right_cnr = ci[1];
+ bigr = round_cnr_rad - round_edge_rad;
+ INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
+ intersection(){
+ cube(bigr*2 + 0.1, center=true);
+ translate([bigr, bigr, 0])
+ rotate_extrude(convexity=10, $fn=50)
+ translate([bigr, 0])
+ difference(){
+ circle(r= round_edge_rad, $fn=50);
+ mirror([1,1])
+ square([20,20]);
+ }