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

[CURA-11444] Use 'wagyu' to prevent slicing crashes #2030

Merged
merged 11 commits into from
Feb 21, 2024

Conversation

rburema
Copy link
Member

@rburema rburema commented Feb 21, 2024

NOTE: The same failing tests are also happening on main.


Input polygons into Arachne weren't guaranteed to be 'not nearly self intersecting', but it needed that requirement. Use mapbox/wagyu to make the polygons going in conform.

Has a reinterpret-cast/move instead of copying the polygons, which is needed, because otherwise either the mapbox point type (which assumes small x,y) or 'our' ClipperLib:IntPoint type (which uses capital X,Y) would have to change all throughout either the wagyu library or our codebase respectively.

casperlamboo and others added 10 commits February 16, 2024 13:21
@rburema rburema changed the title [CURA-11444] Use 'wagyu' to prevent slicing crashes [reinterpret_cast version] [CURA-11444] Use 'wagyu' to prevent slicing crashes Feb 21, 2024
@casperlamboo casperlamboo merged commit 4fc5b33 into main Feb 21, 2024
18 of 19 checks passed
@casperlamboo casperlamboo deleted the CURA-11444_reinterpret_cast branch February 21, 2024 10:10
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.

3 participants