glmExportFurCache
The glmExportFurCache command lets you convert an Xgen setup of an Alembic file into a Golaem Fur Cache (.gfc). This Fur Cache file can be listed as a Fur Asset in a Character File. This command is used in the Character Maker to create the gfc file.
bool glmExportFurCache [-characterFile string] [-furAssetNodeName string] [-outputFileGFC string] [-input string] [-supportMesh string] [-replace] [-mergePositions] [-mergeWidths] [-mergeUVs] [-mergeSkinning]
Flags
| Long name (short name) | Argument types | Properties | Description |
| -characterFile (-gch) | string | mandatory | File path to the Character File to take into account |
| -furAssetNodeName (-fur) | string | mandatory | Name of the Fur Asset node to edit |
| -outputFileGFC (-o) | string | mandatory | File path of the generated gfc file |
| -input (-i) | string | mandatory | Path of the source Alembic file or the Maya XGen node to read the data from |
| -supportMesh (-sm) | string | multi-use | Name of the Mesh Asset nodes to use as scalp |
| -replace (-r) | If set, the gfc path of the Fur Asset node will be replaced | ||
| -mergePositions (-pos) | If set, control points positions of the gfc will be replaced | ||
| -mergeWidths (-wid) | If set, control points widths of the gfc will be replaced | ||
| -mergeUVs (-uvs) | If set, control points UVs of the gfc will be replaced | ||
| -mergeSkinning (-ski) | If set, control points skinning values of the gfc will be replaced |
Return Value
This command returns 1 if it succeeded, 0 else.
MEL Examples
glmExportFurCache -gch "N:/test.gcha" -fur "hairNode" -o "N:/hair.gfc" -sm "headScalp" -i "N:/hair.abc";
// Result: 1 //
Python Examples
import maya.cmds as cmds
cmds.glmExportFurCache(gch="N:/test.gcha", fur="hairNode", o="N:/hair.gfc", sm="headScalp", i="N:/hair.abc")
// Result: 1 //
