Existing garments · 01 · dress_blank
Dress a library blank
You have a Product SKU. Drape, dye, print, pictures.
You have
a Product SKU
You want
Drape, dye, print, pictures
You have a Product SKU (aop-hoodie). You want one navy printed hoodie, catalog pictures, and a GLB — an existing garment mapped in 3D, not a store listing.
The blank already holds Pattern and Construction. Artwork arrives as {placement: uri}. Do not import SVGs on this path.
Steps
product.list→productsproduct.get→productpattern.get→patternconstruction.get→constructionbody.list→bodiesbody.select→bodybody.get→body_gotmaterial.get→materialgarment.compile→compiledgarment.arrange→arrangedgarment.drape→rungarment.finish→runcolorway.apply→rungraphic.apply→rungarment.render→rendergarment.export→exportgarment.get→gotgarment.status→statusgarment.measure→measureuv.audit→uv
Sample inputs
| Key | Value |
|---|---|
product_id | aop-hoodie |
body | samples/bodies/male_m_native_straight.json |
material_id | fleece_250gsm |
colorway | samples/colorways/navy.json |
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.
{
"run.phase": "presented",
"run.device": "gpu",
"render.view_set": "catalog",
"export.format": "glb",
"status.state": "succeeded",
"measure.ok": true,
"uv.ok": true
}Run
Obtain and install the SDK before running this example from its root directory.
python examples/run_workflow.py dress_blank