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
remesh_botsch does not work for non-closed meshes #30
Comments
Hi EmJay! If I recall correctly, you must fix the boundary vertices as feature vertices for the method to work. Actually remising the boundary is not supported. Could you please attach the mesh you used and the exact command you ran to encounter this problem? |
I will try to build a minimal example, my code / mesh is currently rather complicated (result of an toplogy optimization, I want to remesh partially). |
Here is a minimal example
Works fine
Process finished with exit code -1073741819 (0xC0000005) |
Hi EmJay! The PR #32 should fix this issue. Running your command from above now works without issue (the boundary vertices are not remeshed). Once the PR is merged, you can either wait for the 0.0.3 release or build the library locally running -Silvia |
Hi Silvia, |
@sgsellan Before remeshing I know which point is is on which face of my model (I need this info for edge detection / projection on the original surface - like a sphere / cylinder). But even the feature "points" change their index during remeshing. Simplified example:
I could try to find the index of each point of P1 in P0, but this seems very tedious and not very practical for large models. -Michael |
@sgsellan A solution would be to also return the indices of the fixed nodes after the remesh. |
Interesting workaround! I'll set a low priority to this but it's a nice / feasible thing to add to the remesher (would also be happy to merge a PR that did it 😉 !) |
I can try to create a PR, but I'm not very familiar with C code. Don't count on me 😅 |
Oh, maybe even just a PR that only touches the python code in |
👍 I try to send the PR by end of the week |
I tried to remesh a non-closed/ watertight mesh with the remesh_botsch algorithm.
Compared to a closed mesh (with almost the same size) it takes a lot longer (>100 times) and returns an error by exiting my python console.
The text was updated successfully, but these errors were encountered: