GarmentCode: Programming Parametric Sewing Patterns

publication
ACM SIGGRAPH Asia 2023 (journal paper)
authors
Maria Korosteleva, Olga Sorkine-Hornung

Dress examples showcasing women's garment styles inspired by different epochs in fashion history. All are sampled from a single parametric garment configurator created with GarmentCode.

abstract

Garment modeling is an essential task of the global apparel industry and a core part of digital human modeling. Realistic representation of garments with valid sewing patterns is key to their accurate digital simulation and eventual fabrication. However, little-to-no computational tools provide support for bridging the gap between high-level construction goals and low-level editing of pattern geometry, e.g., combining or switching garment elements, semantic editing, or design exploration that maintains the validity of a sewing pattern. We suggest the first DSL for garment modeling -- GarmentCode -- that applies principles of object-oriented programming to garment construction and allows designing sewing patterns in a hierarchical, component-oriented manner. The programming-based paradigm naturally provides unique advantages of component abstraction, algorithmic manipulation, and free-form design parametrization. We additionally support the construction process by automating typical low-level tasks like placing a dart at a desired location. In our prototype garment configurator, users can manipulate meaningful design parameters and body measurements, while the construction of pattern geometry is handled by garment programs implemented with GarmentCode. Our configurator enables the free exploration of rich design spaces and the creation of garments using interchangeable, parameterized components. We showcase our approach by producing a variety of garment designs and retargeting them to different body shapes using our configurator.

downloads and links

videos

acknowledgments

This work was partially supported by the European Research Council (ERC) under the European Union's Horizon 2020 Research and Innovation Programme (ERC Consolidator Grant, agreement No. 101003104, MYCLOTH). Autodesk and Qualoth provided licenses for their software. We thank Anna Hrustaleva for the invaluable consultations on fashion styles, and the members of IGL for always coming to the rescue in times of need for discussion and sweets.