From 2e80cc2ee094ecd75254bebed08eac94d10534e6 Mon Sep 17 00:00:00 2001 From: Ruud Swinkels Date: Thu, 15 Sep 2022 20:14:14 +0200 Subject: [PATCH] changed tollerance of lip to match orignal design --- gridfinity-rebuilt-base.scad | 16 ++++++++-------- gridfinity-rebuilt.scad | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gridfinity-rebuilt-base.scad b/gridfinity-rebuilt-base.scad index 7dae95b..d9543a9 100644 --- a/gridfinity-rebuilt-base.scad +++ b/gridfinity-rebuilt-base.scad @@ -10,8 +10,8 @@ d_height = dht2-h_base; r_scoop = length*((d_height-2)/7+1)/12 - r_f2; // scoop radius d_wall2 = r_base-r_c1-d_clear*sqrt(2); -xl = gridx*length-0.5-2*d_wall+d_div; -yl = gridy*length-0.5-2*d_wall+d_div; +xl = gridx*length-2*d_wall+d_div; +yl = gridy*length-2*d_wall+d_div; echo("====="); echo(height_total=d_height+h_base+(enable_lip?3.8:0)); @@ -132,13 +132,13 @@ module profile_wall_sub() { [0,0], [d_wall/2,0], [d_wall/2,d_height-1.2-d_wall2+d_wall/2], - [d_wall2,d_height-1.2], - [d_wall2,d_height+h_base], + [d_wall2-d_clear,d_height-1.2], + [d_wall2-d_clear,d_height+h_base], [0,d_height+h_base] ]); color("red") offset(delta = 0.25) - translate([r_base,d_height,0]) + translate([r_base-d_clear,d_height,0]) mirror([1,0,0]) profile_base(); square([d_wall,0]); @@ -150,12 +150,12 @@ module profile_wall() { mirror([1,0,0]) difference() { profile_wall_sub(); - difference() { + difference() { translate([0, d_height+h_base-d_clear*sqrt(2), 0]) circle(r_base/2); offset(r = r_f1) offset(delta = -r_f1) - profile_wall_sub(); + profile_wall_sub(); } } } @@ -190,7 +190,7 @@ module block_cutter(x,y,w,h,t,s) { v_len_tab = d_tabh; v_len_lip = d_wall2-d_wall+1.2; - v_cut_tab = d_tabh - (2*r_f1)/tan(a_tab); + v_cut_tab = d_tabh - (4*r_f1)/tan(a_tab); v_cut_lip = d_wall2-d_wall; v_ang_tab = a_tab; v_ang_lip = 45; diff --git a/gridfinity-rebuilt.scad b/gridfinity-rebuilt.scad index 6d9a9d8..1fcf898 100644 --- a/gridfinity-rebuilt.scad +++ b/gridfinity-rebuilt.scad @@ -64,7 +64,7 @@ r_hole2 = 3.25; // magnet hole radius d_hole = 26; // center-to-center distance between holes h_hole = 2.4; // magnet hole depth -r_f1 = 0.6; // top edge fillet radius +r_f1 = 0.3; // top edge fillet radius r_f2 = 2.8; // internal fillet radius d_div = 1.2; // width of divider between compartments