assembly_session
Build persistent-joint FreeCAD assemblies: ground parts, add components, define mates, solve, verify, and roll back steps so joints survive later moves.
Instructions
Persistent-joint assembly on FreeCAD's Assembly workbench; prefer it over the one-shot assemble when joints must survive later moves.
Workflow: start(ground=part), add_component(part), mate(a, b, joint_type, trim?), solve, verify, complete. Moving a parent part and re-solving moves the children. rollback(to_step) restores placements atomically. A mate ref is {"part": <name>} plus exactly one of face="FaceN", anchor=<name> or point=[x,y,z].
Reference: operation_help("assembly_session").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| name | No | ||
| part | No | ||
| trim | No | ||
| joint | No | ||
| to_step | No | ||
| doc_name | No | ||
| operation | Yes | ||
| joint_type | No | fixed | |
| gap_samples | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |