feature_instantiate
Stamp registered feature templates onto a host body using named references, validating inputs and resolving geometry before a deterministic build.
Instructions
Stamp a registered FEATURE TEMPLATE onto a host body at reference geometry supplied BY NAME (PowerCopy/UDF, issue #139) — e.g. a mounting_boss onto a published seat frame, or a bolt_pattern onto an f_ face tag. Validates {refs, inputs} at the door, resolves each reference against the host's CURRENT geometry (an f_ tag / interface name that doesn't resolve fails loudly), then runs the deterministic build — geometry + publish_interface + declare_intent.
template: registered template name (feature_list to browse). host: the handle of the body to stamp onto. refs: reference inputs by name — an interface name, an f_/e_ tag, or a literal {origin, z_axis?, x_axis?} frame, per the template's declared ref kinds. inputs: scalar parameters (typed + unit-bearing + range-checked).
Returns {template, schema, host, refs, inputs, handle, name, interfaces, intent}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| refs | No | ||
| inputs | No | ||
| template | Yes |