Get a Pattern in · 07 · from_sketch
Annotate a sketch, then revise
You have a drawing. Annotate, revise the cut, drape a blank.
You have
a drawing
You want
Annotate, revise the cut, drape a blank
You have a drawing. You want a Pattern, then a measured change to the cut (here: drop the front neck 1.5 cm).
Stops on a draped blank. Dye and print are dress_blank.
Steps
pattern.annotate_sketch→patternpattern.revise→patternpattern.preflightconstruction.propose→constructionbody.select→bodymaterial.get→materialgarment.drape→run
Sample inputs
| Key | Value |
|---|---|
sketch | samples/patterns/sketch/hoodie_front_sketch.png |
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_sketch