assembly_drive_joint
Moves a joint to specified degree-of-freedom values, clamps requests to Fusion joint limits, and reports any clamped DOFs so you can verify the actual position.
Instructions
Move a joint to the given values (e.g. open a hinge to 90 degrees). Fusion keeps values inside the joint limits: dofs whose actual value differs from the request are listed in "clamped" (the actual value is in joint.values). Values are restored if Fusion fails.
Returns {"joint": joint object (see assembly_create_joint), "requested": {dof: value}, "clamped": [dof], "captured": bool}.
Example: assembly_drive_joint(joint="Jt=", values={"rotation": 90}) -> {"joint": {"values": {"rotation_deg": 90.0}, ...}, "requested": {"rotation": 90.0}, "clamped": [], "captured": true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| joint | Yes | Joint or as-built joint ref (assembly_list_joints) | |
| values | Yes | Target value per degree of freedom: degrees for rotation/pitch/yaw/roll, mm for slides | |
| capture_position | No | Fix the new position with a timeline 'Position' snapshot |