Add Joint
add_jointCreates a joint between two components from a pair of faces and moves the parts into coincident alignment; use create_as_built_joint instead when the components are already positioned.
Instructions
Add a joint between two components using a pair of faces as joint geometry. face_one/face_two are mandatory: a joint cannot be built from component origins, because a bare point carries no component association. Pass a cylindrical face on each side (list_faces reports them, with each face's surface_type) - for a hinge that is the knuckle bore on each leaf. NOTE: creating a joint MOVES the components so the joint geometry becomes coincident - use create_as_built_joint when the parts are already positioned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"component_one": "<component_one>",
"component_two": "<component_two>",
"face_one": "<face_one>",
"face_two": "<face_two>"
},
"name": "add_joint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Rotation/slide axis in MODEL terms (x/y/z), resolved against the joint's own axes: Fusion's JointDirections enum selects a joint axis, so the nearest one is used and the result's axis_world / directions report the sign actually applied. Rotation/slide axis for revolute, slider and cylindrical; primary direction for pin_slot, planar and ball. | x |
| body_one | No | Body inside component_one carrying the joint geometry. Omit when the component holds exactly one body. | |
| body_two | No | Body inside component_two carrying the joint geometry. Omit when the component holds exactly one body. | |
| face_one | Yes | Face index on that body (cylindrical faces work best). | |
| face_two | Yes | Face index on that body (cylindrical faces work best). | |
| quadrant | No | Angular position of the joint origin on a cylindrical face. | middle |
| key_point | No | Axial position of the joint origin on a cylindrical face. `end` is the only value that produced a valid joint on Fusion 2705; others raise Invalid parameter height or InternalValidationError. | end |
| joint_type | No | rigid | |
| second_axis | No | Secondary direction for pin_slot and ball. Defaults to an axis perpendicular to `axis`. For ball joints Fusion takes (pitch, yaw) and rejects a pitch parallel to the joint axis, so the perpendicular one is sent first. | |
| component_one | Yes | ||
| component_two | Yes |