assembly_create_as_built_joint
Join two existing occurrences in a Fusion assembly without moving either, creating an as-built joint at their current position. Specify joint type and optional geometry to lock motion.
Instructions
Join two occurrences where they already are (nothing moves), in the root component. geometry gives the joint position and axis (required except for rigid; refs inside occurrences look like '@'). motion keys as in assembly_create_joint.
Returns {"joint": joint object as in assembly_create_joint}.
Example: assembly_create_as_built_joint(type="revolute", occurrence_one="occurrence:Lid:1", occurrence_two="occurrence:Box:1", geometry={"kind": "curve", "entity": "E2=@Box:1"}) -> {"joint": {"type": "revolute", ...}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Joint name | |
| type | Yes | Joint type (degrees of freedom) | |
| motion | No | Motion axes, same keys as assembly_create_joint | |
| geometry | No | Joint position/axis; required for every type except rigid | |
| occurrence_one | Yes | Occurrence: 'occurrence:<fullPathName>' (e.g. 'occurrence:Box:1', nested 'occurrence:Box:1+Hinge:1') as returned by assembly_list | |
| occurrence_two | Yes | Occurrence: 'occurrence:<fullPathName>' (e.g. 'occurrence:Box:1', nested 'occurrence:Box:1+Hinge:1') as returned by assembly_list |