publish_interface
Records a named interface frame on a component to define mating points, persisting in the .FCStd file for later assembly merging.
Instructions
Record a named interface frame on a component so other parts can mate to it ā the published "here is where you bolt to me, and how it's oriented".
handle: the component's shaped object. name: interface name (e.g. "lid_seat", "bolt_circle", "bore_axis"). frame: {origin:[x,y,z], z_axis:[...]?, x_axis:[...]?}. z_axis defaults +Z, x_axis +X. Extra keys (e.g. bolt-circle metadata) are stored verbatim.
Persists in the component's .FCStd as a JSON property bag, so merge_assembly can mate against it later. Returns {handle, name, frame, interfaces}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| frame | Yes | ||
| handle | Yes |