CheckTools/meshChecker
2024-10-01 19:48:12 +08:00
..
src Initial commit 2024-10-01 19:48:12 +08:00
CMakeLists.txt Initial commit 2024-10-01 19:48:12 +08:00
README.md Initial commit 2024-10-01 19:48:12 +08:00

MeshChecker

Mesh/Topology checker for my own

Check numbers

  1. Triangles
  2. Ngons
  3. Non-manifold edges
  4. Lamina faces
  5. Bi-valent faces
  6. Zero area faces
  7. Mesh border edges
  8. Crease edges
  9. Zero length edges
  10. Vertex pnts attributes
  11. Empty geometry (geo with 0 vertices)
  12. Instance shpaes
  13. Channel connections

Flags

Longname Shortname Argument types Default Properties
check c int C
maxFaceaArea mfa float 0.00001 C
minEdgeLength mel float 0.000001 C
doFix fix bool false c
  • 'fix' flag can be used for 'vertex pnts attribute' check

Example

from maya import cmds
e = cmds.checkMesh("|pSphere1", c=0)
print e
[u'|pSphere1.f[360]', u'|pSphere1.f[361]', u'|pSphere1.f[362]', u'|pSphere1.f[363]', u'|pSphere1.f[364]', u'|pSphere1.f[365]', u'|pSphere1.f[366]', u'|pSphere1.f[367]', u'|pSphere1.f[368]', u'|pSphere1.f[369]', u'|pSphere1.f[370]', u'|pSphere1.f[371]', u'|pSphere1.f[372]', u'|pSphere1.f[373]', u'|pSphere1.f[374]', u'|pSphere1.f[375]', u'|pSphere1.f[376]', u'|pSphere1.f[377]', u'|pSphere1.f[378]', u'|pSphere1.f[379]', u'|pSphere1.f[380]', u'|pSphere1.f[381]', u'|pSphere1.f[382]', u'|pSphere1.f[383]', u'|pSphere1.f[384]', u'|pSphere1.f[385]', u'|pSphere1.f[386]', u'|pSphere1.f[387]', u'|pSphere1.f[388]', u'|pSphere1.f[389]', u'|pSphere1.f[390]', u'|pSphere1.f[391]', u'|pSphere1.f[392]', u'|pSphere1.f[393]', u'|pSphere1.f[394]', u'|pSphere1.f[395]', u'|pSphere1.f[396]', u'|pSphere1.f[397]', u'|pSphere1.f[398]', u'|pSphere1.f[399]']