maria-korosteleva / GarmentCode

A modular programming framework for designing parametric sewing patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GarmentCode: Programming Parametric Sewing Patterns

Examples of garments sampled from GarmentCode configurator

Official Implementation of GarmentCode: Programming Parametric Sewing Patterns, including architecture and garment programs.

Documents

  1. Detailed Installtion instructions: Installation
  2. How to run the configurator & adjust parameters: Running

Navigation

Library

PyGarment is the core library described in the GarmentCode paper. It contains the base types (Edge, Panel, Component, Interface, etc.), as well as edge factory and various helpers and operators that help you design sewing patterns.

Install with

pip install pygarment

Examples

  • assets/garment_programs/ contains the code of garment components designed using PyGarment.
  • assets/design_params/, assets/body_measurements/ contain examples of design and body measurements presets corresponding to the designs and retargeting results showcased in our GarmentCode paper. They can be used in both GarmentCode GUI and test_garments.py script.

NOTE: assets/design_params/default.yaml is the setup used by GUI on load. Changing this file results in changes in the GUI initial state =)

Citation

If you are using our system in your research, please cite our paper:

@article{GarmentCode2023,
  author = {Korosteleva, Maria and Sorkine-Hornung, Olga},
  title = {{GarmentCode}: Programming Parametric Sewing Patterns},
  year = {2023},
  issue_date = {December 2023},
  publisher = {Association for Computing Machinery},
  address = {New York, NY, USA},
  volume = {42},
  number = {6},
  doi = {10.1145/3618351},
  journal = {ACM Transaction on Graphics},
  note = {SIGGRAPH ASIA 2023 issue},
  numpages = {16},
  keywords = {sewing patterns, garment modeling}
}

Issues, questions, suggestions

Please post your issues and questions to GitHub Issues.

For other requests you can find my info on https://korosteleva.com/.

Attribution & Body use disclaimer

We are using samples from SMPL body model as base for Body Model examples.

Disclaimer

Due to the restrictions of the SMPL license, we cannot share all 3D models of the body shapes used in our paper, except for the base average bodies for male and female versions of SMPL. We nevertheless share the approximate body measurements of the thin and the full-bodied models to showcase the adaptation of the patterns to different body types.

About

A modular programming framework for designing parametric sewing patterns

License:MIT License


Languages

Language:Python 100.0%