mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-12-22 23:03:28 +00:00
Use proper radius value for r_fo3
The same value used in baseplate is now handled as radius (instead of diameter).
This commit is contained in:
parent
2f2567d7a9
commit
9b364e410c
3 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ module block_base_solid(dbnx, dbny, l, o) {
|
||||||
mirror([0,0,1])
|
mirror([0,0,1])
|
||||||
union() {
|
union() {
|
||||||
hull() {
|
hull() {
|
||||||
rounded_rectangle(xx-2*r_c2-2*r_c1+o, yy-2*r_c2-2*r_c1+o, h_base+oo, r_fo3/2);
|
rounded_rectangle(xx-2*r_c2-2*r_c1+o, yy-2*r_c2-2*r_c1+o, h_base+oo, r_fo3);
|
||||||
rounded_rectangle(xx-2*r_c2+o, yy-2*r_c2+o, h_base-r_c1+oo, r_fo2/2);
|
rounded_rectangle(xx-2*r_c2+o, yy-2*r_c2+o, h_base-r_c1+oo, r_fo2/2);
|
||||||
}
|
}
|
||||||
translate([0,0,oo])
|
translate([0,0,oo])
|
||||||
|
|
|
@ -216,7 +216,7 @@ module block_magnet_blank(o = 0, half = true) {
|
||||||
module block_base_blank(o = 0) {
|
module block_base_blank(o = 0) {
|
||||||
mirror([0,0,1]) {
|
mirror([0,0,1]) {
|
||||||
hull() {
|
hull() {
|
||||||
rounded_square(l_grid-o-0.05-2*r_c2-2*r_c1, h_base, r_fo3/2);
|
rounded_square(l_grid-o-0.05-2*r_c2-2*r_c1, h_base, r_fo3);
|
||||||
rounded_square(l_grid-o-0.05-2*r_c2, h_base-r_c1, r_fo2/2);
|
rounded_square(l_grid-o-0.05-2*r_c2, h_base-r_c1, r_fo2/2);
|
||||||
}
|
}
|
||||||
hull() {
|
hull() {
|
||||||
|
|
|
@ -14,7 +14,7 @@ r_fo1 = 8.5;
|
||||||
// outside radii 2
|
// outside radii 2
|
||||||
r_fo2 = 3.2;
|
r_fo2 = 3.2;
|
||||||
// outside radii 3
|
// outside radii 3
|
||||||
r_fo3 = 1.6;
|
r_fo3 = 1.6 / 2;
|
||||||
// length of a grid unit
|
// length of a grid unit
|
||||||
l_grid = 42;
|
l_grid = 42;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue