Radii and dimensions are not correct!
Bobbel93 opened this issue · 5 comments
I can confirm that there is something incorrect, but I can't say what exactly:
gridfinity-rebuilt-openscad/standard.scad
Lines 12 to 17 in 2f2567d
Firstly, descriptions for r_fo1
, r_fo2
and r_fo3
are wrong, these are actually diameters (but they are correctly divided by two in the code). Comparing these values to gridfinity standard, then r_fo1
should be changed to 7.5
.
And another suspicious variable seems to be r_c2
:
// upper base chamfer "radius"
r_c2 = 1.4; // should be 2.15 / 2 ?
Update: I assume one of the reason for using somewhat different values is the usage of "rounded" chamfer instead of proper 45-degree one.
Depending on how PR #171 goes, I will try using the same method to handle the edges of the bin. That is:
- Creating a polygon of the enlarged profile, right next to what you have circled.
- Sweeping it along a path.
I have a suspicion that one of the reasons for your issues is the way hull()
works. The math for the base is reversed, and can be hard to read. I started cleaning it up, but realized that just sweeping a path would give a better result that could be easily verified as matching the profile.