CheckTools/uvChecker/README.md

51 lines
1.0 KiB
Markdown
Raw Normal View History

2024-10-01 19:48:12 +08:00
# UVChecker
Find general uv errors
## Check Numbers
### 0. Udim border intersections
![](../images/udimIntersections.png)
### 1. Unmapped polygon faces
![](../images/unMappedFaces.png)
### 2. Zero-area UV faces
![](../images/zeroAreaUVFaces.png)
### 3. Unassigned UVs
![img]()
### 4. UVs in negative space
![](../images/UVsInNegative.png)
### 5. Concave UV faces
![](../images/concaveUVs.png)
### 6. Reversed UVs
![](../images/reversedUVs.png)
## Flags
| Longname | Shortname | Argument types | Default | Properties | Description |
|:---------|----------:|:--------------:|:-------:|:----------:|:-----------:|
|check|c|integer||C||
|uvArea|uva|double|0.000001|C||
|uvSet|us|string|current uv set|C|Set what uv set you want to us|
|maxUvBorderDistance|muvd|double|0.0|C|Ignore UVs close to udims borders for "Udim border intersections" check|
|verbose|v|bool|False|C||
## Example
```python
from maya import cmds
errors = cmds.checkUV("|pSphere1", c=0)
print errors
>>> [u'|pSphere1|pSphereShape1.map[19]', u'|pSphere1|pSphereShape1.map[20]', ...]
```