pygarment


Namepygarment JSON
Version 1.0.0.post1 PyPI version JSON
download
home_pagehttps://igl.ethz.ch/projects/garmentcode/
SummaryA modular programming framework for designing parametric sewing patterns
upload_time2023-10-18 13:02:55
maintainer
docs_urlNone
authorMaria Korosteleva
requires_python>=3.6
license
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/), including architecture and garment programs.

## Documents

1. Detailed Installtion instructions: [Installation](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Installation.md)
2. How to run the configurator & adjust parameters: [Running](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running.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.  

Install with 
```
pip install pygarment
```

### 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/body_measurements/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/body_measurments/) 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](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 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](https://github.com/maria-korosteleva/GarmentCode/issues).

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


## Attribution & Body use disclaimer
We are using samples from [SMPL](https://smpl.is.tue.mpg.de/) body model as base for [Body Model examples](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/Bodies). 

### 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://igl.ethz.ch/projects/garmentcode/",
    "name": "pygarment",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "garment-programming,garment-modeling,sewing-patterns",
    "author": "Maria Korosteleva",
    "author_email": "maria.korosteleva.public@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/fc/a6/b1448a9066921fcc0d6e04bd4166dd84ac2bca671834cff2b1e631edd21c/pygarment-1.0.0.post1.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/), including architecture and garment programs.\r\n\r\n## Documents\r\n\r\n1. Detailed Installtion instructions: [Installation](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Installation.md)\r\n2. How to run the configurator & adjust parameters: [Running](https://github.com/maria-korosteleva/GarmentCode/blob/main/docs/Running.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\nInstall with \r\n```\r\npip install pygarment\r\n```\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/body_measurements/](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/body_measurments/) 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.\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 paper:\r\n\r\n```\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\r\n## Attribution & Body use disclaimer\r\nWe are using samples from [SMPL](https://smpl.is.tue.mpg.de/) body model as base for [Body Model examples](https://github.com/maria-korosteleva/GarmentCode/tree/main/assets/Bodies). \r\n\r\n### Disclaimer\r\nDue 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. \r\n\r\n# Changelog\r\n\r\n## [1.0.0] - 2023-10-18\r\n\r\n_First release._\r\n\r\n\r\nMIT License\r\n\r\nCopyright (c) 2023 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": "",
    "summary": "A modular programming framework for designing parametric sewing patterns",
    "version": "1.0.0.post1",
    "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": "841e8234e3096ecb5c08b3669af9821be404a251e98f3ae1970c00516f0075e8",
                "md5": "a1f044bdc69ce51d87fff2ad60e83478",
                "sha256": "704105e56010a5aaae6e6e3e7239c396ff7251b21d2ba72d0fbc941efac33295"
            },
            "downloads": -1,
            "filename": "pygarment-1.0.0.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a1f044bdc69ce51d87fff2ad60e83478",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 56150,
            "upload_time": "2023-10-18T13:02:52",
            "upload_time_iso_8601": "2023-10-18T13:02:52.670725Z",
            "url": "https://files.pythonhosted.org/packages/84/1e/8234e3096ecb5c08b3669af9821be404a251e98f3ae1970c00516f0075e8/pygarment-1.0.0.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fca6b1448a9066921fcc0d6e04bd4166dd84ac2bca671834cff2b1e631edd21c",
                "md5": "f17c7e844484749c897da563847fb256",
                "sha256": "ce66e9633d7b5d4a26bc7158176f6e75bd04e96b2bb45ee128f7863b3c721bae"
            },
            "downloads": -1,
            "filename": "pygarment-1.0.0.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "f17c7e844484749c897da563847fb256",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 50932,
            "upload_time": "2023-10-18T13:02:55",
            "upload_time_iso_8601": "2023-10-18T13:02:55.299742Z",
            "url": "https://files.pythonhosted.org/packages/fc/a6/b1448a9066921fcc0d6e04bd4166dd84ac2bca671834cff2b1e631edd21c/pygarment-1.0.0.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-18 13:02:55",
    "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.15023s