mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-11-23 00:40:50 +00:00
changed tollerance of lip to match orignal design
This commit is contained in:
parent
42538d67fb
commit
2e80cc2ee0
2 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue