Skip to content
Discussion options

You must be logged in to vote

Hello!

mn.meshFromFacesVerts() should save input faces and vertices indices, could you please share an example where it does not work?


You can use code like this to fill region for subdivide settings:

largeAreaRegion = mm.FaceBitSet(mesh.topology.faceSize())
for f in mesh.topology.getValidFaces():
    largeAreaRegion.set(f,mesh.area(f) > 10.0)

ss = mm.SubdivideSettings()
ss.region = largeAreaRegion

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by osmaoui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants