From 5b25e2e11408b214f6cacb72a9c8d64c624807bd Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Sun, 10 Mar 2024 23:26:51 -0400 Subject: [PATCH] Replace "1.4" constant in profile_wall() with calculated value --- gridfinity-rebuilt-utility.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gridfinity-rebuilt-utility.scad b/gridfinity-rebuilt-utility.scad index 1e6d54c..6cfb32e 100644 --- a/gridfinity-rebuilt-utility.scad +++ b/gridfinity-rebuilt-utility.scad @@ -412,11 +412,11 @@ module stacking_lip_chamfered() { /** * @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) { assert(is_num(height_mm)) - translate([1.4, 0, 0]){ + translate([r_base - stacking_lip_depth, 0, 0]){ translate([0, height_mm, 0]) stacking_lip_chamfered(); translate([stacking_lip_depth-d_wall/2, 0, 0])