Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radii and dimensions are not correct! #165

Closed
Bobbel93 opened this issue Feb 8, 2024 · 5 comments · Fixed by #171
Closed

Radii and dimensions are not correct! #165

Bobbel93 opened this issue Feb 8, 2024 · 5 comments · Fixed by #171

Comments

@Bobbel93
Copy link

Bobbel93 commented Feb 8, 2024

Please check the exact dimensions again.

https://gridfinity.xyz/specification/

IMG_6002

IMG_6003

@Bobbel93 Bobbel93 changed the title Several radii are not correct. Radii and dimensions are not correct! Feb 8, 2024
@plaes
Copy link
Contributor

plaes commented Feb 16, 2024

I can confirm that there is something incorrect, but I can't say what exactly:

// outside radii 1
r_fo1 = 8.5;
// outside radii 2
r_fo2 = 3.2;
// outside radii 3
r_fo3 = 1.6;

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.

@plaes
Copy link
Contributor

plaes commented Feb 17, 2024

@Bobbel93 Please check #167

@EmperorArthur
Copy link
Collaborator

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.

EmperorArthur added a commit to EmperorArthur/gridfinity-rebuilt-openscad that referenced this issue Mar 11, 2024
@EmperorArthur
Copy link
Collaborator

Looks like half of #169 was actually a duplicate of this one.
I've moved that and the relevant screenshots here.

Screenshots of issue in Freecad

Commit 2f2567d

2024-02-18 gridfinity-rebuilt-bins 1x1x6 (solid) FreeCAD - Commit 2f2567d
2024-02-18 gridfinity-rebuilt-bins 1x1x6 (solid) FreeCAD Zoomed In - Commit 2f2567d

Commit 5df8267

2024-02-18 gridfinity-rebuilt-bins 1x1x6 (solid) FreeCAD Zoomed In Back - Commit 5df8267
2024-02-18 gridfinity-rebuilt-bins 1x1x6 (solid) FreeCAD Front - Commit 5df8267
2024-02-18 gridfinity-rebuilt-bins 1x1x6 (solid) FreeCAD Zoomed In Front - Commit 5df8267

@EmperorArthur
Copy link
Collaborator

@plaes and @Bobbel93 please check #171

I've re-created the profile based on the spec. Which lead me to adjust r_base to equal r_fo1.

I have not checked if this works on the old code, but it fixes the issue in that PR.

2024-01-25 Fixed Bin Radius

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants