my code is pretty huge now. Let me explain better:

Imagine you have a character mesh, but with loads of random groups of faces 
missing. My script fills in all the missing faces. However, its not just as 
simple as plugging all the holes with a generic 'fill hole' tool or 
something, each hole requires a particular set of bridging and merging 
commands to fill the hole correctly, so that the edge flow matches up with 
the surrounding geo.

So my method was to literally create a long list which goes through each 
hole in the geo and starts bridging certain edges to other edges then 
merging them etc. I did it manually first so i knew the number of the 
correct edge to merge with the other correct edge.

I can leave my python script as it is now and it will work. But it is quite 
slow and cannot easily be modified, because as you mentioned before it will 
throw the mesh vertex/edge ordering out.

I just thought there must be a smarter api way to do this. I was just 
looking into that addPolygon method thing. As i am a bit slow, was trying 
to understand how it could be integrated.

thanks, 
Sam 

ps. the script is required because i will have to repeat this same process 
with many more meshes. though all will have the same faces missing each time

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/293aef17-de13-419f-b6da-eb7e03536ba9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to