Skip to content

Conversation

@AIRCAP
Copy link
Contributor

@AIRCAP AIRCAP commented Nov 19, 2024

fix #34

shape.BoundBox has incorrect values in CurvedSegments, since the shape has been newly generated but not been displayed yet (not tessellated) instead of tesselating the shape, we call optimalBoundingBox which computes the dimensions without relying on Tessellation

this should ideally be done everywhere in the code, but optimalBoundingBox has slightly different return than BoundBox does which causes issues with some operations (nearly one-dimensional ribs, etc...) since even flat shapes can up to 2*epsilon thickness reported depending on OCCT version

in this place it is absolutely needed because otherwise curvedsegments are badly broken

@AIRCAP
Copy link
Contributor Author

AIRCAP commented Nov 19, 2024

this is a hotfix but no permanent fix for #52

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.

CurvedSegment Ribs are too small and don't fit the hullcurve

1 participant