preview_hull
Builds a hull and returns preview images plus a text summary of size, part counts, deck heights, flotation, bench fit, and warnings for comparing against a brief and iterating before saving.
Instructions
Build a hull and return a preview image (3/4 views from above and below, front, side, top) plus a text summary: size, part counts, deck heights, flotation estimate, bench fit and warnings. This is the design loop: preview, compare the image with the player's brief, adjust, repeat, then save_hull. Use inspect_view for one large close-up from any angle and preview_interior for rooms. Nothing is written. Spec sources apply in order: preset or design, spec_path, spec, patch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | Hull spec, partial or full (fields: hull_design_guide topic=spec); merged over preset or design. Lengths in metres. | |
| patch | No | JSON-Patch ops applied last, e.g. [{"op": "replace", "path": "/superstructure/bridge/height", "value": 2.5}]; list items can be named instead of indexed. | |
| design | No | Stored design to start from instead of a preset; names from list_designs. | |
| preset | No | Built-in hull preset to start from, e.g. 'runabout'; names from list_hull_presets. | |
| renderer | No | "auto" (default) lights the scene like the game, on the GPU when available; "gpu"/"cpu" force one; "flat" is fastest and unlit, with block outlines for counting blocks. | |
| spec_path | No | Path to a .json file holding a spec or a stored design, read before spec and patch. |