Get a Pattern in · 06 · from_intent
Draft a pattern from a sentence
You described a garment. Draft a Pattern, drape a blank.
You have
You described a garment
You want
Draft a Pattern, drape a blank
You described a garment in chat. You want centimetre pieces, not a picture of a pattern.
The proposer can be wrong. pattern.preflight and construction gates hold the line. This workflow stops on a draped blank; dye and print are dress_blank.
Steps
pattern.draft→patternpattern.preflightconstruction.propose→constructionconstruction.preflightbody.select→bodymaterial.get→materialgarment.drape→run
Sample inputs
| Key | Value |
|---|---|
intent | unisex pullover hoodie, hood up, size M, kangaroo pocket |
body | samples/bodies/male_m_native_straight.json |
material_id | fleece_250gsm |
Expected fixture checks
These are the checks declared by this sample, not a captured production result. Referenced sample files are included in the gated SDK checkout.
{
"run.phase": "draped"
}Run
Obtain and install the SDK before running this example from its root directory.
python examples/run_workflow.py from_intent