Package: pygarment
GarmentCode: Programming Parametric Sewing PatternsOfficial Implementation ofGarmentCode: Programming Parametric Sewing Patterns, including architecture and garment programs.DocumentsDetailed Installtion instructions:InstallationHow to run the configurator & adjust parameters:RunningNavigationLibraryPyGarmentis 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 withpip install pygarmentExamplesassets/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 andtest_garments.pyscript.NOTE:assets/design_params/default.yamlis the setup used by GUI on load. Changing this file results in changes in the GUI initial state =)CitationIf 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, suggestionsPlease post your issues and questions toGitHub Issues.For other requests you can find my info onhttps://korosteleva.com/.Attribution & Body use disclaimerWe are using samples fromSMPLbody model as base forBody Model examples.DisclaimerDue 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-18First release.MIT LicenseCopyright (c) 2023 Maria KorostelevaPermission 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.