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

improve imprecise constant for hexagon shape #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lumbric
Copy link

@lumbric lumbric commented Jan 31, 2016

1.75 is a very bad aproximation for 1.732050807568877 = cos(30) * 2. I don't think we need to optimize here and hardcode the constant - better use a readable calculation.

1.75 is a very bad aproximation for 1.732050807568877 = cos(30) * 2. I don't think we need to optimize here and hardcode the constant - better use a readable calculation.
@lumbric
Copy link
Author

lumbric commented Jan 31, 2016

Oh sorry, I think that should go upstream to elmom/MCAD, not here.

diara628 added a commit that referenced this pull request Apr 13, 2020
linear bearing model and a minor fix of stepper
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 this pull request may close these issues.

1 participant