create_cushion
Builds upholstered cushions for seats, pillows, mattresses, or poufs, with bulging sides, crowned faces, piping, and optional tufting; returns top_z for stacking.
Instructions
Upholstered soft goods built like the real thing (rounded-rectangle plan, bulging sides, crowned faces, seam piping, optional buttons). Origin at the bottom centre; returns top_z for stacking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Cushion | |
| size | Yes | [x, y, z] metres (seat cushion ~[0.55,0.55,0.12]). | |
| bulge | No | ||
| crown | No | ||
| style | No | box: seat/back cushion with piping. pillow: throw pillow, strongly crowned. mattress: flat, crisp. pouf: round-ish ottoman. | box |
| corner | No | Plan corner shape: 2 round/oval .. 12 nearly square. | |
| parent | No | ||
| piping | No | ||
| tufted | No | Button tufting grid columns (0 = none, 3 = chesterfield-like). | |
| location | No | World position [x,y,z] (metres) of the object origin. | |
| material | No | Material preset name (list_material_presets), or {preset, color, roughness, weathering, ...} like apply_material, or the name of an existing material. Presets with a real-world scan use Poly Haven automatically; {'polyhaven': 'mossy rock'} picks any Poly Haven texture by description. | |
| rotation | No | Rotation [x,y,z] in degrees. | |
| piping_material | No | Material preset name (list_material_presets), or {preset, color, roughness, weathering, ...} like apply_material, or the name of an existing material. Presets with a real-world scan use Poly Haven automatically; {'polyhaven': 'mossy rock'} picks any Poly Haven texture by description. |