Your Ad Here

Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

cpConvClothToMesh

cpConvClothToMesh is undoable, queryable, and editable.

Duplicates any selected cloth objects into a standalone mesh object. For each duplicated object, a 'clothSimulateUVset' UV set is added, containing the internal fabricate UVs for the cloth object. When simulating, if the solver detects a 'clothSimulateUVset' UV set, it will use those UVs for the simulation as opposed to generating its own before the solve.

Return value


Nothing.

Related

cpSolver

MEL examples

  // Create a garment
  //
  nurbsSquare -c 0 0 0 -nr 0 1 0 -sl1 1 -sl2 1 -sps 1 -d 3 -ch 1;
  scale -r 15 15 15;
  cpPanel -newStitcher;

  // Convert it to a mesh
  //
cpConvClothToMesh;

  

Return to Autodesk Index


Your Ad Here