Garment Notation Language: Formal descriptive language for clothing construction (github.com)
122 points by prathyvsh 6 hours ago
arcsincosin 4 hours ago
In the examples, there is discrepancy between the source, the diagram, the pieces diagram, and the 3D test each. As someone who is professionally and personally interested in grammars and textiles, I appreciate the fantasy and the vibe of the project but it does not seem to be a functioning demo of anything coherent.
buggymcbugfix 2 hours ago
+1. This is 100% hallucinated. Creds: My first programming language was GRAFIS CAD Fachsprache, a parametric pattern drafting software for garments, which incidentally powers our business (https:/liepelt.design—the website and intranet of which we are developing in ur/web btw just to clarify the geek factor!)
astrashe2 5 hours ago
Were any people who work for the garment industry involved in GNL's creation, or is it something that's coming entirely from tech people?
Edman274 4 hours ago
Tech person - there's only one contributor, it's less than 48 hours old, and appears to be primarily vibe coded with the assistance of Claude Code. No mentions of types of stitches even though it's crucial to understanding how a garment is made. I wonder too if this grammar can represent a glove made from a single strand of yarn.
giraffe_lady 4 hours ago
If I understand what you mean, that's more in the realm of knitting which does already have several rigorous notations in common use.
This is for pattern drafting, which assumes knit or woven fabric as the raw material for the garment construction, along with the pattern.
That said it still does not seem suitable for this task based on my experience sewing from and modifying patterns.
antidamage 3 hours ago
AlotOfReading 4 hours ago
barbarr 4 hours ago
It's Claude Code slop
infogulch 5 hours ago
Does GNL support pleats, tucks, and darts? These sewn features help make flat cloth conform to curves in the body. The terms don't seem to be mentioned explicitly in the repo, though maybe they can be implemented with the existing notation.
https://en.wikipedia.org/wiki/Pleat | https://en.wikipedia.org/wiki/Tuck_(sewing) | https://en.wikipedia.org/wiki/Dart_(sewing)
owlstuffing 4 hours ago
Read the docs
eg. Darts: https://github.com/khalildh/garment-notation/blob/main/garme...
infogulch 2 hours ago
Github doesn't do plurality folding which trips up my searches sometimes. Thanks.
throwaway198846 4 hours ago
Is there a service I can upload a file and get one made and shipped to me? Not necessarily this grament language but others. I have an old and unusual garment I want in an adult size.
Animats 14 minutes ago
Yes, but it's a service for the garment trade, not individuals.[1] They're going to want patterns in an industry standard format. If you need help with the design, that's available, but not cheap.
There's a reverse-engineering process for garments, involving laying them out on a light table and taking pictures. That's how you make knockoffs.
If the goal is a one-off, not volume production, just find a good custom tailor or costumer. It's going to cost.
[1] https://www.hongyuapparel.com/clothing-prototype-manufacture...
CrzyLngPwd 3 hours ago
This is how a robot thinks of clothing.
And humans.
Doohickey-d 5 hours ago
For another "clothing patterns as code" approach, see https://freesewing.dev/ - also with a more complete UI and editor.
pimlottc 3 hours ago
This looks interesting but I’m struggling to find any examples of what this actually entails/produces/looks like. Most of the guides are about setting up your environment, checking out code, etc.
kurnikas 25 minutes ago
So I've actually built patterns using their system. Basically you define a layout using JS and defining a series of points and offsets and lines. You can refer to variables such as body measurements or other dimensions for bags. https://freesewing.eu/ is their more "consumer" facing site where you can enter your measurements and then download sewing patterns sized for you specifically.
One of the other nice things they do as part of the pattern design process is testing the pattern makes sense at many "scales" and so you can actually define a "body" the size of a doll and use this for defining dolls clothing, or make really size inclusive clothing, there are members of the community with varying disabilities such as forms of dwarfism who otherwise struggle to find appropriately sized clothes.
abetusk 4 hours ago
Also free as in freedom [0].
[0] https://codeberg.org/freesewing/freesewing/src/branch/develo...
AreShoesFeet000 5 hours ago
I should just read Wittgenstein.
OrionNox 4 hours ago
We already have marvelous designer and Clo3d...
vatsachak 5 hours ago
"Dance has Labanotation. Music has staff notation. Architecture has plan/section/elevation conventions. GNL brings the same rigor to garments — a generative descriptive language where a valid expression is sufficient to construct a garment without ambiguity."
AI lmao
SJMG 5 hours ago
The 3D view is broken on Safari and Chrome.
kenjackson 4 hours ago
The 3D view works on Edge, but the shirt doesn't fit properly and there's only one sleeve and that sleeve doesn't actually have the arm go in the middle of it.
ceroxylon 3 hours ago
It is not working on Firefox 147.0.4 either.
meindnoch 2 hours ago
This is just slop. Pretty sure this person has no experience in clothes manufacturing.
Johnny_Bonk 5 hours ago
Thank you for this
Guestmodinfo 6 hours ago
Can we express the drapes and dresses worn in the animes. Because then it will be helpful for the cos players
antidamage 2 hours ago
It looks like it has a 3d draping view, but it didn't seem very good yet. Check out Marvellous Designer, that's what anyone doing digital-first uses.
Drapey clothing is probably the easiest to freehand without a pattern though. It's accurate fits that need more measuring, planning, temporary stitching, test garments, etc.