! Modify README.md
This commit is contained in:
parent
6399e88618
commit
5b67c356e7
18
README.md
18
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 #
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue