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

Why does Boolean operation not accept tetrahedron? Not PWN? #366

Open
artoews opened this issue Jul 12, 2024 · 0 comments
Open

Why does Boolean operation not accept tetrahedron? Not PWN? #366

artoews opened this issue Jul 12, 2024 · 0 comments

Comments

@artoews
Copy link

artoews commented Jul 12, 2024

Hi, I am new to using PyMesh. I am trying to perform Boolean operations on basic polyhedra, e.g. intersection of two cubes. However I am finding that pymesh.boolean() rejects any basic 3D shape I give it, reporting "Input mesh is not PWN!".

For example, consider the two trials below. The call to pymesh.boolean works fine for the intersection of two triangles in 2D, but fails for the same task with two tetrahedra in 3D, claiming the input mesh is not PWN. I am not familiar with the concept of PWN (piece-wise constant winding number) but it is counterintuitive to me that this most basic shape is not eligible for boolean operation. Can anyone spot the error?

Screenshot 2024-07-12 at 12 56 37 PM

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

No branches or pull requests

1 participant