glina sculpt

Invocation

glina sculpt <prompt> [--out <dir>] [--filename <file.glb>] [--rounds <n>] [--config <path>]

Purpose

Run the model-to-Blender iterative sculpt loop and gate the exported GLB.

Inputs and options

  • <prompt> is required; all positional words are joined with spaces.
  • --out <dir> selects the output directory; the default is assets/models.
  • --filename <file.glb> selects the output name; the default is a 48-character ASCII slug of the prompt.
  • --rounds <n> caps the loop at n rounds and overrides llm.maxRounds. One of the two is required: Glina does not pick a round cap of its own.
  • --config <path> selects the pipeline JSON.

Output and state

Executes model-written Blender Python through the Blender MCP session, exports and verifies a GLB, writes round thoughts as [round N] … to stderr, and prints {outPath, verification, rounds} as JSON. The transcript is deliberately omitted.

Refusals

An empty prompt writes exactly error: sculpt requires a prompt and exits 2. Without --rounds and without llm.maxRounds the sculpt writes error: sculpt needs a round cap: pass --rounds <n> or set llm.maxRounds in the pipeline config and exits 1 before Blender is started. Model, Blender, export, or gate errors are printed as error: <message> and exit 1.