pygarment


Namepygarment JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://igl.ethz.ch/projects/garmentcode/
SummaryA modular programming framework for designing parametric sewing patterns
upload_time2024-08-30 12:36:29
maintainerNone
docs_urlNone
authorMaria Korosteleva
requires_python>=3.6
licenseNone
keywords garment-programming garment-modeling sewing-patterns
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GarmentCode: Programming Parametric Sewing Patterns

![Examples of garments sampled from GarmentCode configurator](https://github.com/maria-korosteleva/GarmentCode/raw/main/assets/img/header.png)

Official Implementation of [GarmentCode: Programming Parametric Sewing Patterns](https://igl.ethz.ch/projects/garmentcode/) and [GarmentCodeData: A Dataset of 3D Made-to-Measure Garments With Sewing Patterns](https://igl.ethz.ch/projects/GarmentCodeData/).

> You can find the body measurements part of the project here: https://github.com/mbotsch/GarmentMeasurements 

## News

**[Aug 30, 2024]** Major release -- implementation of [GarmentCodeData](https://igl.ethz.ch/projects/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](https://igl.ethz.ch/projects/GarmentCodeData/) is accepted to ECCV!

**[May 29, 2024]** First release of [GarmentCodeData](https://doi.org/10.3929/ethz-b-000673889) dataset!

**[Oct 18, 2023]** First release of GarmentCode!

## Documents

1. [Installation](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Installation.md)
2. [Running Configurator](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running_garmentcode.md) 
3. [Running Data Generation (warp)](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running_data_generation.md) 
3. [Body measurements](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Body%20Measurements%20GarmentCode.pdf)
4. [Dataset documentation](https://www.research-collection.ethz.ch/handle/20.500.11850/673889)
3. [Running Old Maya+Qualoth tools](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running_Maya_Qualoth.md) 

## Navigation

### Library

[PyGarment](https://github.com/maria-korosteleva/GarmentCode/tree/main/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](https://github.com/maria-korosteleva/GarmentCode/tree/main/docs/Installation.md) before use.

### Examples

* [assets/garment_programs/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/garment_programs/) contains the code of garment components designed using PyGarment. 
* [assets/design_params/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/design_params/), [assets/bodies/](https://github.com/maria-korosteleva/GarmentCode/tree/main/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](https://github.com/maria-korosteleva/GarmentCode/blob/main/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:

```bibtex
@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},
}
```

```bibtex
@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](https://github.com/maria-korosteleva/GarmentCode/issues).

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

## Contributors

This project is brought to life by these people:

* [Maria Korosteleva](https://github.com/maria-korosteleva)
* [Jasmin Koller](https://github.com/JasminKoller)
* [Yuhan Zhang](https://github.com/yuhan-zh)
* [Ami Beuret](https://github.com/amibeuret)
* [Olga Sorkine-Hornung](https://igl.ethz.ch/people/sorkine/index.php)

The body measurements team developed [GarmentMeasurements](https://github.com/mbotsch/GarmentMeasurements): 
* [Fabian Kemper](https://github.com/fabiankemper)
* [Stephan Wenninger](https://github.com/stephan-wenninger)
* [Mario Botsch](https://github.com/mbotsch)

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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://igl.ethz.ch/projects/garmentcode/",
    "name": "pygarment",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "garment-programming, garment-modeling, sewing-patterns",
    "author": "Maria Korosteleva",
    "author_email": "maria.korosteleva.public@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/16/ac/933da9f1a3886d8727f7673e7e5c0773a7a41f5244d9922c05194f936067/pygarment-2.0.0.tar.gz",
    "platform": null,
    "description": "# GarmentCode: Programming Parametric Sewing Patterns\r\n\r\n![Examples of garments sampled from GarmentCode configurator](https://github.com/maria-korosteleva/GarmentCode/raw/main/assets/img/header.png)\r\n\r\nOfficial Implementation of [GarmentCode: Programming Parametric Sewing Patterns](https://igl.ethz.ch/projects/garmentcode/) and [GarmentCodeData: A Dataset of 3D Made-to-Measure Garments With Sewing Patterns](https://igl.ethz.ch/projects/GarmentCodeData/).\r\n\r\n> You can find the body measurements part of the project here: https://github.com/mbotsch/GarmentMeasurements \r\n\r\n## News\r\n\r\n**[Aug 30, 2024]** Major release -- implementation of [GarmentCodeData](https://igl.ethz.ch/projects/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\r\n\r\n**[July 1, 2024]** [GarmentCodeData](https://igl.ethz.ch/projects/GarmentCodeData/) is accepted to ECCV!\r\n\r\n**[May 29, 2024]** First release of [GarmentCodeData](https://doi.org/10.3929/ethz-b-000673889) dataset!\r\n\r\n**[Oct 18, 2023]** First release of GarmentCode!\r\n\r\n## Documents\r\n\r\n1. [Installation](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Installation.md)\r\n2. [Running Configurator](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running_garmentcode.md) \r\n3. [Running Data Generation (warp)](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running_data_generation.md) \r\n3. [Body measurements](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Body%20Measurements%20GarmentCode.pdf)\r\n4. [Dataset documentation](https://www.research-collection.ethz.ch/handle/20.500.11850/673889)\r\n3. [Running Old Maya+Qualoth tools](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running_Maya_Qualoth.md) \r\n\r\n## Navigation\r\n\r\n### Library\r\n\r\n[PyGarment](https://github.com/maria-korosteleva/GarmentCode/tree/main/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.  \r\n\r\nSee [Installation instructions](https://github.com/maria-korosteleva/GarmentCode/tree/main/docs/Installation.md) before use.\r\n\r\n### Examples\r\n\r\n* [assets/garment_programs/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/garment_programs/) contains the code of garment components designed using PyGarment. \r\n* [assets/design_params/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/design_params/), [assets/bodies/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/bodies/) contain examples of design and body measurements presets. They can be used in both GarmentCode GUI and `test_garmentcode.py` script.\r\n\r\n> NOTE: [assets/design_params/default.yaml](https://github.com/maria-korosteleva/GarmentCode/blob/main/assets/design_params/default.yaml) is the setup used by GUI on load. Changing this file results in changes in the GUI initial state =) \r\n\r\n\r\n## Citation\r\n\r\nIf you are using our system in your research, please cite our papers:\r\n\r\n```bibtex\r\n@inproceedings{GarmentCodeData:2024,\r\n  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},\r\n  title = {{GarmentCodeData}: A Dataset of 3{D} Made-to-Measure Garments With Sewing Patterns},\r\n  booktitle={Computer Vision -- ECCV 2024},\r\n  year = {2024},\r\n  keywords = {sewing patterns, garment reconstruction, dataset},\r\n}\r\n```\r\n\r\n```bibtex\r\n@article{GarmentCode2023,\r\n  author = {Korosteleva, Maria and Sorkine-Hornung, Olga},\r\n  title = {{GarmentCode}: Programming Parametric Sewing Patterns},\r\n  year = {2023},\r\n  issue_date = {December 2023},\r\n  publisher = {Association for Computing Machinery},\r\n  address = {New York, NY, USA},\r\n  volume = {42},\r\n  number = {6},\r\n  doi = {10.1145/3618351},\r\n  journal = {ACM Transaction on Graphics},\r\n  note = {SIGGRAPH ASIA 2023 issue},\r\n  numpages = {16},\r\n  keywords = {sewing patterns, garment modeling}\r\n}\r\n```\r\n\r\n## Issues, questions, suggestions\r\n\r\nPlease post your issues and questions to [GitHub Issues](https://github.com/maria-korosteleva/GarmentCode/issues).\r\n\r\nFor other requests you can find my info on https://korosteleva.com/.  \r\n\r\n## Contributors\r\n\r\nThis project is brought to life by these people:\r\n\r\n* [Maria Korosteleva](https://github.com/maria-korosteleva)\r\n* [Jasmin Koller](https://github.com/JasminKoller)\r\n* [Yuhan Zhang](https://github.com/yuhan-zh)\r\n* [Ami Beuret](https://github.com/amibeuret)\r\n* [Olga Sorkine-Hornung](https://igl.ethz.ch/people/sorkine/index.php)\r\n\r\nThe body measurements team developed [GarmentMeasurements](https://github.com/mbotsch/GarmentMeasurements): \r\n* [Fabian Kemper](https://github.com/fabiankemper)\r\n* [Stephan Wenninger](https://github.com/stephan-wenninger)\r\n* [Mario Botsch](https://github.com/mbotsch)\r\n\r\nMIT License\r\n\r\nCopyright (c) 2024 Maria Korosteleva\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A modular programming framework for designing parametric sewing patterns",
    "version": "2.0.0",
    "project_urls": {
        "Bug_Tracker": "https://github.com/maria-korosteleva/GarmentCode/issues",
        "Homepage": "https://igl.ethz.ch/projects/garmentcode/",
        "repository": "https://github.com/maria-korosteleva/GarmentCode"
    },
    "split_keywords": [
        "garment-programming",
        " garment-modeling",
        " sewing-patterns"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33c9ef3fc569faff25feee8fcd47b0000a34b3b337ac3bd6b4fc90d5b8ea7deb",
                "md5": "119ecbd9bee70dd14b09e347e3f3e1d2",
                "sha256": "f76b970508e536784839c5048113f634e953f25a146eed03c6e2a57af6d784e4"
            },
            "downloads": -1,
            "filename": "pygarment-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "119ecbd9bee70dd14b09e347e3f3e1d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 139424,
            "upload_time": "2024-08-30T12:36:27",
            "upload_time_iso_8601": "2024-08-30T12:36:27.846819Z",
            "url": "https://files.pythonhosted.org/packages/33/c9/ef3fc569faff25feee8fcd47b0000a34b3b337ac3bd6b4fc90d5b8ea7deb/pygarment-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16ac933da9f1a3886d8727f7673e7e5c0773a7a41f5244d9922c05194f936067",
                "md5": "ab5f04b73c404986bb3eeb9af52fbe72",
                "sha256": "71bb2d8a63f1f90462e6ec686017f7bc3a73c08e4a7441d6f683cfe172681223"
            },
            "downloads": -1,
            "filename": "pygarment-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ab5f04b73c404986bb3eeb9af52fbe72",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 128490,
            "upload_time": "2024-08-30T12:36:29",
            "upload_time_iso_8601": "2024-08-30T12:36:29.091626Z",
            "url": "https://files.pythonhosted.org/packages/16/ac/933da9f1a3886d8727f7673e7e5c0773a7a41f5244d9922c05194f936067/pygarment-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-30 12:36:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maria-korosteleva",
    "github_project": "GarmentCode",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pygarment"
}
        
Elapsed time: 0.30146s