A modular programming framework for designing parametric sewing patterns
Project description
GarmentCode: Programming Parametric Sewing Patterns
Official Implementation of GarmentCode: Programming Parametric Sewing Patterns, including architecture and garment programs.
Documents
- Detailed Installtion instructions: Installation
- 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.
Changelog
[1.0.0] - 2023-10-18
First release.
MIT License
Copyright (c) 2023 Maria Korosteleva
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pygarment-1.0.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704105e56010a5aaae6e6e3e7239c396ff7251b21d2ba72d0fbc941efac33295 |
|
MD5 | a1f044bdc69ce51d87fff2ad60e83478 |
|
BLAKE2b-256 | 841e8234e3096ecb5c08b3669af9821be404a251e98f3ae1970c00516f0075e8 |