From 5b67c356e7fdc8672572a255af9438308b841dfa Mon Sep 17 00:00:00 2001 From: indigo Date: Sun, 24 Sep 2023 21:17:37 +0800 Subject: [PATCH] ! Modify README.md --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 42ae566..089b7e3 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,6 @@ # CGCG Mesh Info plugin for Maya The plugin is use to generate SHA1 hash from mesh data (vertex, uvs, point) for comparing -### Current Hash Data - -* Mesh vertices -* Mesh uvs -* Mesh point position (object space) - ### Command References ``` Synopsis: meshInfo [flags] [String...] @@ -16,9 +10,19 @@ Flags: -f -file String -ni -noIntermediate -pth -ptHash + -ust -unset -uvh -uvHash -vh -vtxHash ``` + +### Generate Hash Data +*`-vh, -vtxHash`* Mesh vertices +*`-uvh, -uvHash`* Mesh uvs +*`-pth, -ptHash`* Mesh point position (object space) + +### Unset Face Ids (`-unset`) +*`-unset`* This argument is query unset color sets face ids on mesh, use for **`AbcExport`** with *`-writeColorSets`* argument, to remove vertex color on unset face ids. + ### Examples Generate vertcies hash from specify mesh ```python @@ -37,7 +41,7 @@ cmds.meshInfo('pCubeShape1', q=True, uvHash=True) Dump all mesh without intemediate objects hashs into json file ```python import maya.cmds as cmds -cmds.meshInfo(vtxHash=True, uvHash=True, ptHash=True, noIntermediate +cmds.meshInfo(vtxHash=True, uvHash=True, ptHash=True, noIntermediate=True file='C:/Temp/mesh_info.json') # Mesh info file exported : C:/Temp/mesh_info.json # ```