assembly_set_joint_limits
Set motion limits for a joint's degree of freedom to control rotation or slide ranges. Specify min/max values or disable limits per DOF in Fusion 360 assemblies.
Instructions
Set the motion limits of one degree of freedom: rotation/pitch/yaw/roll in degrees, slide/primary_slide/secondary_slide in mm. A number enables the limit, "off" disables it, omitted keeps it. dof must exist for the joint type (revolute: rotation; slider: slide; cylindrical/pin_slot: rotation, slide; planar: primary_slide, secondary_slide, rotation; ball: pitch, yaw, roll), and min must not exceed max, otherwise INVALID_PARAMS.
Returns {"joint": joint object (see assembly_create_joint) with "limits"}.
Example: assembly_set_joint_limits(joint="Jt=", dof="rotation", min=0, max=110) -> {"joint": {"limits": {"rotation": {"min": 0.0, "max": 110.0, "rest": null}}, ...}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dof | Yes | Degree of freedom of the joint's type | |
| max | No | Limit in degrees (rotations) or mm (slides); "off" disables it | |
| min | No | Limit in degrees (rotations) or mm (slides); "off" disables it | |
| rest | No | Limit in degrees (rotations) or mm (slides); "off" disables it | |
| joint | Yes | Joint or as-built joint ref (assembly_list_joints) |