simready-foundation-conform-fet-029-standard
Use for repairing exact CAP029_ConnectionJoint SimReady connection multibody-physics conformance. Use when a profile, validation report, or user request names CAP029_ConnectionJoint; default to versio
SKILL.mdskills/simready-foundation-conform-fet-029-standard/SKILL.md
GitHubSimReady Conform CAP029_ConnectionJoint
Purpose
The skill command retains its historical fet name for compatibility; the selected contract is a Foundations 2 capability with static validation.
Use this exact capability skill when the selected profile, validation report, or user request names CAP029_ConnectionJoint. It authors the UsdPhysicsFixedJoint that holds a jointed connection, declares how strong the attachment is, and rates it against the socket's payload capacity.
This skill applies only to connections whose simready:mate:realization is jointed. Skip compound connections entirely: they have no joint, and CN.005 and CN.009 do not apply to them.
Default to CAP029_ConnectionJoint.0-1-0.
Source of Truth
nv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/capabilities/CAP029_ConnectionJoint.0-1-0.jsonnv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/capabilities/CAP029_ConnectionJoint.md
Capability Versions
| Version | Dependencies | Requirements |
|---|---|---|
0-1-0 |
CAP027_Connections.0-1-0, FET004_Multibody.0-2-0 |
CN.005, CN.009 |
Workflow
- Confirm the assembly already satisfies
CAP027_Connections. Every connection must already carryrealization,socket, andplug. Do not create geometry and do not create connections. - Enumerate connections with
realization = "jointed". If there are none, reportskipped. - For each, resolve both mate bodies per
MC.003: the nearest ancestor with an enabledPhysicsRigidBodyAPI. A part carryingphysics:rigidBodyEnabled = falseis transparent to the walk, so a site inside a demoted part resolves to the compound body above it, and that is the prim the joint targets. Confirm the two are distinct. If they are the same prim, the asset'srealizationtoken is wrong; report that as aCN.006failure rather than authoring a self-joint. - Author a
UsdPhysicsFixedJointwithphysics:body0set to the socket mate body andphysics:body1set to the plug mate body. Body order is not significant, but keep socket asbody0for readability. - Compute each mate site's transform expressed in its own mate body and author the result as
physics:localPos0/physics:localRot0(socket) andphysics:localPos1/physics:localRot1(plug). These must hold the two mate frames coincident. Derive them from the composed stage; never leave them unauthored and never guess. - Author
rel simready:mate:jointon the connection prim targeting that joint, with exactly one target. - Author
float physics:breakForceandfloat physics:breakTorque. Useinffor a permanent attachment. Derive a finite value only from a stated mechanical rating; never invent a breaking load. Author both via the typed API (UsdPhysics.Joint.CreateBreakForceAttr) so they land as schema attributes rather than custom ones. - Deactivate any competing world pin the plug asset carried standalone, such as a gripper
root_joint. An active world pin over-constrains the pairing. - Check
CN.005: sumphysics:massfrom prims withPhysicsMassAPIin the plug mate-body subtree and compare to the socket'smaxPayload. Walk down and stop at the first prim on each branch that authorsphysics:mass; that value stands for its whole subtree. Stopping is what keeps a compound aggregate from being added to the part masses beneath it, so a plug that is itself a compound contributes one aggregate. Do not readSR.003customLayerDatamass; it does not compose across a reference. If any branch yields no explicit mass, reportCN.005as warn and do not fail on it. - Validate with
CN.005andCN.009, then inspect the staged USDA against the requirement docs.
Capability Guidance
- The joint is authored, not inferred. An authored joint keeps the assembly rigid in a runtime that does not read
simready:mate:, and it satisfiesRB.012so the assembly can be nested inside another assembly. - Authoring the joint does not take it away from the runtime. A tool-change runtime follows
simready:mate:jointand setsphysics:jointEnabled = false, retunes, or deletes the prim. Do not add custom attributes to describe that lifecycle. - The joint must be a
UsdPhysicsFixedJoint. A connection is a rigid attachment; a joint with degrees of freedom does not express it. Do not repurpose a part's existing revolute or prismatic joint. - Author the joint where
simready:mate:jointresolves with runtime payloads unloaded. One neutral joint belongs in the assembly physics layer. Runtime variants overlay attributes onto that same prim; do not create a second joint per runtime. - Attach strength belongs to this gate.
physics:breakForceandphysics:breakTorqueareUsdPhysicsJointattributes that PhysX, Newton, and MuJoCo all read, so authoring them here covers every runtime. Both are required even when the answer isinf, because the schema fallback isinfand an unauthored joint is silently unbreakable. - Do not invent a mass or a payload rating to force
CN.005to pass.
Report Fields
| Field | Meaning |
|---|---|
capability |
CAP029_ConnectionJoint.0-1-0 |
input |
Source assembly |
output |
Staged assembly path |
requirements_repaired |
CN.005, CN.009 as applicable |
validation |
CN.005 and CN.009 results plus any inspection used |
status |
passed, failed, skipped, or blocked |
next_step |
The selected exact FET_029 runtime skill (simready-foundation-conform-fet-029-physx, -newton, or -mujoco) when the profile pins one |