Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1


Cleaning up meshes imported from Marvelous Designer 1 month 2 weeks ago #518

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 139
  • Thank you received: 19
Marvelous Designer has a habit of leaving zero size triangles in its exported meshes and then when you simulate in Carbon a zero size triangle appears as having infinite mass! Not what you want for simulation.

So its best to clean up the meshes before creating Carbon Cloth nodes.

In Maya we recommend running a Maya mesh cleanup script, such as the one below.
Select all the simulation meshes, then run this Python script:

import maya.cmds as cmds
import maya.mel as mel
meshes =, dag=True, shapes=True)
for mesh in meshes:
    mel.eval('polyCleanupArgList 4 { "0","1","1","0","0","0","0","0","1","0.01","0","1e-05","0","1e-05","0","-1","0","0" };')

Afterwards, best to save out the meshes as an FBX and reimport them back into a new scene as the clean-up can leave some nodes that interfere with the Carbon Garment Processor.

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.059 seconds