# GarmentCode: Programming Parametric Sewing Patterns

arXiv: https://arxiv.org/abs/2306.03642 · HTML: https://mlsanity.com/paper/2306.03642/

## Key facts

- Cited by 27 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 6 Jun 2023.

## Built on by (most cited first, 27 of 27)

- [DressCode: Autoregressively Sewing and Generating Garments from Text Guidance](https://mlsanity.com/paper/2401.16465/) (2024)
- [DiffAvatar: Simulation-Ready Garment Optimization with Differentiable Simulation](https://mlsanity.com/paper/2311.12194/) (2023)
- [GarmentCodeData: A Dataset of 3D Made-to-Measure Garments With Sewing Patterns](https://mlsanity.com/paper/2405.17609/) (2024)
- [ChatGarment: Garment Estimation, Generation and Editing via Large Language Models](https://mlsanity.com/paper/2412.17811/) (2024)
- [Design2GarmentCode: Turning Design Concepts to Tangible Garments Through Program Synthesis](https://mlsanity.com/paper/2412.08603/) (2024)
- [Multimodal Latent Diffusion Model for Complex Sewing Pattern Generation](https://mlsanity.com/paper/2412.14453/) (2024)
- [ETCH: Generalizing Body Fitting to Clothed Humans via Equivariant Tightness](https://mlsanity.com/paper/2503.10624/) (2025)
- [GarmentDiffusion: 3D Garment Sewing Pattern Generation with Multimodal Diffusion Transformers](https://mlsanity.com/paper/2504.21476/) (2025)
- [PDT: Point Distribution Transformation with Diffusion Models](https://mlsanity.com/paper/2507.18939/) (2025)
- [SOMA: Unifying Parametric Human Body Models](https://mlsanity.com/paper/2603.16858/) (2026)
- [GarmageNet: A Multimodal Generative Framework for Sewing Pattern Design and Generic Garment Modeling](https://mlsanity.com/paper/2504.01483/) (2025)
- [GarmentX: Autoregressive Parametric Representations for High-Fidelity 3D Garment Generation](https://mlsanity.com/paper/2504.20409/) (2025)
- [Image2Garment: Simulation-ready Garment Generation from a Single Image](https://mlsanity.com/paper/2601.09658/) (2026)
- [NGL: Natural Garment Language for Training-Free Sewing Pattern Estimation](https://mlsanity.com/paper/2602.20700/) (2026)
- [Garment Particles: A 2D--3D Symmetric Garment Representation for Generation and Editing](https://mlsanity.com/paper/2605.26391/) (2026)
- [ReWeaver: Towards Simulation-Ready and Topology-Accurate Garment Reconstruction](https://mlsanity.com/paper/2601.16672/) (2026)
- [Learning Sewing Patterns via Latent Flow Matching of Implicit Fields](https://mlsanity.com/paper/2601.17740/) (2026)
- [PatternGSL: A Structured Specification Language for Template-Free and Simulation-Ready 3D Garments](https://mlsanity.com/paper/2606.24564/) (2026)
- [Self-Supervised Vision Transformer for Enhanced Virtual Clothes Try-On](https://mlsanity.com/paper/2406.10539/) (2024)
- [AIpparel: A Multimodal Foundation Model for Digital Garments](https://mlsanity.com/paper/2412.03937/) (2024)
- [Towards Vision-Language-Garment Models for Web Knowledge Garment Understanding and Generation](https://mlsanity.com/paper/2506.05210/) (2025)
- [AutoSew: A Geometric Approach to Stitching Prediction with Graph Neural Networks](https://mlsanity.com/paper/2602.22052/) (2026)
- [FIT: A Large-Scale Dataset for Fit-Aware Virtual Try-On](https://mlsanity.com/paper/2604.08526/) (2026)
- [FitVTON: Fit-aware Virtual Try-On via Body-Garment Size Control](https://mlsanity.com/paper/2606.12012/) (2026)
- [Stitched Embeddings: A Unified Latent Space for 3D Garments and 2D Patterns](https://mlsanity.com/paper/2607.00829/) (2026)
- [DiT-Garment: Garment Dynamics with Diffusion Transformers](https://mlsanity.com/paper/2609.18510/) (2026)
- [Inverse Garment Design with Visual Agents](https://mlsanity.com/paper/2610.15582/) (2026)

## Abstract (arXiv)

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. Project page: https://igl.ethz.ch/projects/garmentcode/
