Replies: 1 comment
-
Hello! Here is simple example of how to fill newly created holes from meshlib import mrmeshpy as mm
mesh = mm.makeCube()
facesToDelete = mm.FaceBitSet()
facesToDelete.resize(2)
facesToDelete.set(mm.FaceId(0))
facesToDelete.set(mm.FaceId(1))
expectedLoops = mm.findRightBoundary(mesh.topology,facesToDelete)
mesh.deleteFaces(facesToDelete)
for loop in expectedLoops:
mm.fillHole(mesh, loop[0].sym()) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am working with oral scans, and we intend to cut teeth and perform fill-hole operations only on the cut parts, just like in the tutorial video you shared.
https://www.youtube.com/watch?v=9Uhp7LnQf_g&lc=UgxdywAjVqNAZeNbuph4AaABAg.A4sjbETb281A4u-q7qFuoJ
However, as you might already know, oral scans usually have an open bottom, which causes the fill-hole algorithm to mistakenly identify and attempt to close the bottom part as a hole.
Could you please provide a Python example that can be used in such situations?
Beta Was this translation helpful? Give feedback.
All reactions