- translate([x / 2 - corner_block_inner, y / 2 - corner_block_inner]) {
- square(corner_block_inner - wall); }
- translate([opening_width / 2 + wall, y / 2 - wall]) {
- square([(x - opening_width) / 2 - 2 * wall, wall]);
- translate([0, wall / 2]){
- circle(d = wall); } }
+
+ // outer block, without the wall part since wall has rounded corner
+ translate([x / 2 - outer_block, y / 2 - outer_block]) {
+ square(outer_block - wall); }
+
+ // outer arms covering the opening
+ translate([(opening_width + wall) / 2, y / 2 - wall]) {
+ square([(x - opening_width - wall) / 2 - wall, wall]); }
+ // rounded part at entrace to inside
+ translate([(opening_width + wall) / 2, (y - wall) / 2]){
+ circle(d = wall); }
+ // rounded part around outside of extrusion