Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

MFnMesh duplicateFaces - how to keep faces together?

MFnMesh duplicateFaces - how to keep faces together?

Anonymous
Not applicable
332 Views
0 Replies
Message 1 of 1

MFnMesh duplicateFaces - how to keep faces together?

Anonymous
Not applicable
Hi,

I'm hoping someone here can help me with this. I am writing a plug-in node that duplicates all the faces of a mesh a given number of times. The MFnMesh::duplicateFaces() function, when given a list of all the faces of the object, does what I want. However the duplicate faces are split. It's as though I used the UI Edit Mesh->Duplicate Face command with the "Keep Faces Together" option turned off. Is there some way to keep them together? BTW - I'm wring the plugin in Python for Maya 2012 64bit.
Also - I was trying to find a way to merge vertices after the operation, and I can't find it anywhere. How is vertex merging done using the API?

Thanks in advance!
-Radek
0 Likes
333 Views
0 Replies
Replies (0)