-
Notifications
You must be signed in to change notification settings - Fork 41
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
Intersection of meshes gives sometimes an empty mesh #43
Comments
I know that this bug is very old, but now I have a first approach to get this work. I have been working on a simple algorithm to align nearly equal points. The code can be found in https://github.com/zippy84/vtkbool/blob/dev/dev/test2.py. Currently it is implemented in Python. When it has been sufficiently tested, I will integrate it into vtkbool. The class should eliminate the need of a "small random translation", mentioned in #81. Here is a screenshot: The result can be downloaded here: union.zip |
Ok Ronald :) |
Hi Ronald, The fix did not work, I'll provide more info in the next week :) |
@mauigna06 It's just a prototype. |
@zippy84 Thanks a ton for the library! |
Hi Ronald. Thank you very much for your work. With our opensource free Slicer module BoneReconstructionPlanner virtual surgical planning of mandibular reconstruction using fibula is possible. But using your library we are able to take the plan to the operating room with patient-specific surgical guides.
Here are some examples of what we achieved using your library (already used on clinical cases):
Right now we are trying to get the intersection of fibula bone pieces but the result is an empty mesh when it shouldn't be that way.
Here are meshes to replicate this behaviour:
Meshes.zip
The operations that fail are:
"Fibula Segment 0A-0B.vtk" intersection "Fibula Segment 1A-1B.vtk"
"Fibula Segment 1A-1B.vtk" intersection "Fibula Segment 2A-2B.vtk"
Hope you can help. Thank you again for this great library
The text was updated successfully, but these errors were encountered: