Skip to content

Commit

Permalink
Replace "1.4" constant in profile_wall() with calculated value
Browse files Browse the repository at this point in the history
  • Loading branch information
EmperorArthur committed Mar 11, 2024
1 parent 69cb64e commit 5b25e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gridfinity-rebuilt-utility.scad
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 5b25e2e

Please sign in to comment.