Replace "1.4" constant in profile_wall() with calculated value

This commit is contained in:
Arthur Moore 2024-03-10 23:26:51 -04:00
parent 69cb64e98d
commit 5b25e2e114

View file

@ -412,11 +412,11 @@ module stacking_lip_chamfered() {
/** /**
* @brief External wall profile, with a stacking lip. * @brief External wall profile, with a stacking lip.
* @details The "1.4" constant is to match old behavior. * @details Translated so a 90 degree rotation produces the expected outside radius.
*/ */
module profile_wall(height_mm) { module profile_wall(height_mm) {
assert(is_num(height_mm)) assert(is_num(height_mm))
translate([1.4, 0, 0]){ translate([r_base - stacking_lip_depth, 0, 0]){
translate([0, height_mm, 0]) translate([0, height_mm, 0])
stacking_lip_chamfered(); stacking_lip_chamfered();
translate([stacking_lip_depth-d_wall/2, 0, 0]) translate([stacking_lip_depth-d_wall/2, 0, 0])