Replies: 5 comments 4 replies
-
Maybe you can first check the input geometry with the |
Beta Was this translation helpful? Give feedback.
-
Agreed; this actually looks like valid output for marginal input (meshes that have faces that are coplanar or nearly so). Due to floating-point rounding error, your positions are not really certain. Therefore it's helpful to think of what you would expect the result to look like if your objects were moved a little ( |
Beta Was this translation helpful? Give feedback.
-
I see Maybe the solution could be to scale the negative solid by a small factor, like x1.001. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hey @elalish , Just for curiosity, are you going to implement fuzzy booleans in elalish/manifold to solve these rounding errors? |
Beta Was this translation helpful? Give feedback.
-
No, I won't. This library intentionally avoids any form of tolerance in the Booleans in order to make them topologically reliable. As a user of the library, you'll either need to avoid creating those marginal cases in the first place, or be very careful with your rounding error to ensure the marginal cases are floating-point equal (which Manifold's transformations help with to some degree). |
Beta Was this translation helpful? Give feedback.
-
Hello
It seems that at some point boolean substraction fails. I think the input geometry is right. Not sure, but maybe elalish is failing, so i decided to open an issue.
These are the objects:
build.zip
In the zip you have the first geometry, the geometries to substract and the result.
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions