WS06-006 adds rig-readiness validation in @isis/3d-generation via
src/processing/rig-readiness-validator.ts.
Implemented Checks#
naming checks- Duplicate name detection.
- Convention-aware format checks (
mixamo,unreal,unity,blender,maya,custom).
hierarchy checks- Root-bone cardinality checks.
- Missing parent references.
- Parent/child linkage consistency checks.
- Cycle detection and disconnected-bone detection.
- Deform-bone presence enforcement.
skin weight checks- Integrates
validateSkinWeightsfor weight sum/index validity. - Enforces max influences per vertex.
- Enforces max unweighted-vertex ratio.
- Integrates
bind pose checks- Requires bind-pose coverage for all bones.
- Validates matrix shape, finiteness, and invertibility.
API#
createRigReadinessInputFromSkeleton(skeleton, skinWeights?)validateRigReadiness(input, options?)
Default Thresholds#
requireSkinWeights:truerequireBindPose:truemaxSkinInfluences:4maxUnweightedVertexRatio:0.02skinWeightTolerance:0.001