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 extrusion radius calculation in parser #27

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

saumyaj3
Copy link
Contributor

@saumyaj3 saumyaj3 commented Dec 3, 2024

Refactored the calculation of the extrusion radius by introducing radiusSquared to handle squared values correctly before taking the square root. This change ensures that negative extrusions are handled as move-extrusions and updates bounding box calculations more accurately. Previously the code produced weird results for thicker rafts.

Refactored the calculation of the extrusion radius by introducing `radiusSquared` to handle squared values correctly before taking the square root. This change ensures that negative extrusions are handled as move-extrusions and updates bounding box calculations more accurately.
Copy link
Owner

@aligator aligator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@aligator aligator merged commit 453d2db into aligator:main Dec 3, 2024
@saumyaj3 saumyaj3 deleted the fix-layer-radius branch December 4, 2024 10:39
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.

2 participants