A modular programming framework for designing parametric sewing patterns
Project description
GarmentCode: Programming Parametric Sewing Patterns
Official Implementation of GarmentCode: Programming Parametric Sewing Patterns and GarmentCodeData: A Dataset of 3D Made-to-Measure Garments With Sewing Patterns.
You can find the body measurements part of the project here: https://github.com/mbotsch/GarmentMeasurements
News
[Sept 4, 2024] We release a new version of the dataset with a few fixes and updates: GarmentCodeData (v2). See documentation for new data version for more details.
[Aug 30, 2024] Major release -- implementation of GarmentCodeData in pygarment v2.0.0
, new GUI, and other updates and improvements. Basic JSON representation classes are now part of PyGarment library! See CHANGELOG for more details
[July 1, 2024] GarmentCodeData is accepted to ECCV!
[May 29, 2024] First release of GarmentCodeData dataset!
[Oct 18, 2023] First release of GarmentCode!
Documents
- Installation
- Running Configurator
- Running Data Generation (warp)
- Body measurements
- Dataset documentation
- Running Old Maya+Qualoth tools
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.
See Installation instructions before use.
Examples
- assets/garment_programs/ contains the code of garment components designed using PyGarment.
- assets/design_params/, assets/bodies/ contain examples of design and body measurements presets. They can be used in both GarmentCode GUI and
test_garmentcode.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 papers:
@inproceedings{GarmentCodeData:2024,
author = {Korosteleva, Maria and Kesdogan, Timur Levent and Kemper, Fabian and Wenninger, Stephan and Koller, Jasmin and Zhang, Yuhan and Botsch, Mario and Sorkine-Hornung, Olga},
title = {{GarmentCodeData}: A Dataset of 3{D} Made-to-Measure Garments With Sewing Patterns},
booktitle={Computer Vision -- ECCV 2024},
year = {2024},
keywords = {sewing patterns, garment reconstruction, dataset},
}
@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/.
Contributors
This project is brought to life by these people:
The body measurements team developed GarmentMeasurements:
MIT License
Copyright (c) 2024 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
File details
Details for the file pygarment-2.0.1.tar.gz
.
File metadata
- Download URL: pygarment-2.0.1.tar.gz
- Upload date:
- Size: 128.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9772b14e39b406655984e281dcc2226b9fab5f215455a3d28b53248af350ba |
|
MD5 | d1514805740eb51dcbeb7c1ce940e303 |
|
BLAKE2b-256 | 276edfd0c65161cc965acbed400514447f338608352afb9231c582171222df39 |
File details
Details for the file pygarment-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: pygarment-2.0.1-py3-none-any.whl
- Upload date:
- Size: 139.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1c7df9f8f858b67725277b9e1da2e1cecd4d8ad08f5b505c47af3c6ebdd3c6 |
|
MD5 | 7d88a8de0f0a50e5fdbb7a3d08088992 |
|
BLAKE2b-256 | 2d92f5cce160c3b04ae3c90f77c532424d74908a67eceff49b5fd5e6d20a97d3 |