[:arrow_left:](/HBtOe6opROO2deKL9wqT7w?both)
# **Modeling** Sanity Check
###### tags: `Modeling` `Sanity Check`
::: spoiler Dependencies
C:\Shotgun\pirata2_tools\pirata2_tools\pipeline\tk_multi_publish2\tk_maya\Asset\Modeling.py
calls
C:\Shotgun\pirata2_tools\pirata2_tools\libraries\maya\libs\elts\elts_checks.py
:::


Scène sauvée en .ma
**GLOBAL ON SCENE**
- Check time unit (PAL).
- Check unauthorized nodes (not a transform, a shape besides default nodes).
- Check top node name.
- Check top node pivot (must be 0,0,0).
- Check top node freeze transform.
- Check if scene has ref.
- Check if scene has materials besides default.
- Check if scene has selection sets.
**ON GROUPS**
- Check of nomenclatures (must start by U, C ou L, R)
- Check if group is freeze transform
- Check if group is hidden
**ON MESH TRANSFORM**
- Check of nomenclatures (must start by U, C ou L, R)
- Check of shape nomenclature (must be same as transform)
- Check if mesh is Freeze Transf
- Check if mesh has history
- Check if mesh has double shape
- Check if mesh is hidden
- Check if mesh has wrong render stats
- Check if mesh is an instance
- Check if mesh has cleanup issues
- Check if mesh has ngones
- Check if mesh has geo size issue (must be at least 4vtx, 4 edges and 1 face)
# OLD :
4. - [ ] list non-default No dag object
- - [x] delete all
---
5. - [ ] list nameSpaces
- - [x] delete all
---
6. - [ ] list shadingGroup
- - [x] delete all
---
7. - [ ] list shaders
- - [x] delete all
---
8. - [ ] list UnknownNode
- - [ ] delete all
---
9. - [ ] list UnknownRefnode
- - [ ] delete all
---
10. - [ ] list polyColorSet
- - [x] delete all
---
11. - [ ] list non-default dagObjects and their types
- if type is "mesh":
- [ ] list shape Intermediary
- [ ] keep first connected shape and delete the rest
- else if it's is not type "transform":
- [ ] delete all
---
12. - [ ] list display Layers
- - [ ] delete all
___
13. - [ ] list polygons with more than 4 edges
- - [ ] select all
---
14. - [ ] list face with hole
- - [ ] select all
---
15. - [ ] list lumina Faces
- - [ ] select all
---
16. - [ ] list Nonmanifolds mesh
- - [ ] select all
---
17. - [ ] list edges/faces with 0 lenght
- - [ ] select all
---
18. - [ ] list references
- - [x] remove all
---