foot_length = 20;
wall_width = 2;
nub_depth = 4;
+desired_corner_rounding_radius = 2/2.1;
+
+// rounding radius needs to be just under half the size of the wall_width
+maximum_corner_rounding_radius = wall_width / 2 - 0.1;
+corner_rounding_radius =
+ (desired_corner_rounding_radius < maximum_corner_rounding_radius)
+ ?
+ desired_corner_rounding_radius
+ :
+ maximum_corner_rounding_radius;
fudge = 0.1;
//fudge = 0.0;
square([nub_depth, side_nub_length - fudge]); } }
module foot_2d() {
- round_corners(wall_width / 2.1) {
+ round_corners(corner_rounding_radius) {
translate([-x / 2, 0, 0]) {
half_foot_2d(); }
translate([x / 2, 0, 0]) {