Existing garments · 02 · more_colorways
Same drape, more colors and prints
You already draped. More colors and prints, no second drape.
You have
You already draped
You want
More colors and prints, no second drape
You already have a draped blank. You want navy and black, same artwork, without paying for physics twice. Artwork still arrives from outside. This is an existing garment, not a store listing.
colorway.apply and graphic.apply return child Runs. The parent blank stays immutable.
Steps
body.select→bodygarment.drape→blankgarment.finish→finishedcolorway.apply→navygraphic.apply→navy_printcolorway.apply→blackgraphic.apply→black_printgarment.render→render_navygarment.render→render_black
Sample inputs
| Key | Value |
|---|---|
product_id | aop-hoodie |
body | samples/bodies/male_m_native_straight.json |
material_id | fleece_250gsm |
artwork | samples/artwork/aop_hood/map.json |
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.
{
"blank.phase": "draped",
"navy_print.phase": "presented",
"black_print.phase": "presented"
}Run
Obtain and install the SDK before running this example from its root directory.
python examples/run_workflow.py more_colorways