blueprint_part
Defines one weapon part's geometry, finish, and motion, requiring a source for every number; parts with unsourced values fail validation.
Instructions
Sets one part of the blueprint. Every number needs its source; the check fails a part without one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | extrude: [x0, x1], the gun's right to its left, cm | |
| gun | Yes | ||
| axis | No | ||
| kind | Yes | extrude (a side outline run across x) or lathe (a round part) | |
| name | No | ||
| role | Yes | body, or the action's part role (slide, magazine...) | |
| clips | No | extrude: [axis (y, z or line), value (or [[y, z], [y, z]]), keep (above, below, left, right), why] | |
| trace | No | extrude: the kept trace its outline comes from | |
| bore_r | No | ||
| finish | Yes | ||
| motion | No | {kind: slide, axis, travel_cm} | {kind: turn, axis, turn_deg, pivot} | {kind: free} | |
| parent | No | ||
| part_id | Yes | ||
| profile | No | lathe: [[y, r], ...] | |
| bevel_cm | No | ||
| x_source | No | where x comes from: {figure}, {fact}, {derived: how} or {guess: why} | |
| axis_source | No | ||
| motion_sources | No | the source of each motion number (axis, travel_cm, turn_deg, pivot) | |
| profile_source | No |