-
Notifications
You must be signed in to change notification settings - Fork 16
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
All vertices are detected as boundary vertices #68
Comments
I've added a PR #69 with a warning in the case of all vertices are boundary vertices. But I think there is an issue with the |
I noticed a really weird behaviour, the stl seems to have unique vertices per face (=> the faces are unconnected) |
Hi @EmJay276 ! Thanks for submitting this issue. In fact, this is the intended behaviour: an STL file contains no connectivity information, as it just stores a set of individual triangles without any relations between them. So, reading an STL file will return a lot of individual triangles and, since there's no connection between them, boundary_faces will correctly identify all of them as boundaries. Still, I can see why this is confusing. The easiest thing to do is add a well-documented flag to the stl reader that optionally merges all duplicate vertices (with |
I just pushed an enhancement of our STL Thanks for reporting! |
Thanks for the fast fix! You should get some coffee ☕ 😄 |
I tried to remesh some models from the Engineering Shape Benchmark (ESB)
For example
backdoor.stl
from the Flat-Thin Wallcomponents.tar.gzThe result using
remesh_botsch
is exactly the same as the input.I discovered all vertices of the model are detected as boundary vertices by
boundary_vertices(f)
But the model has clearly some "inner" vertices (at least on the rounded part in the middle.
The text was updated successfully, but these errors were encountered: