A Compiler for 3D Machine Knitting
disneyresearch.com
disneyresearch.com
What a time to be alive.
This would create a pattern, they have an example of sewn cloth, and inflatable balloons they built.
which was kind of a decendent of teddy 3d http://www.cs.toronto.edu/~jacobson/seminar/igarashi-et-al-1...
This is a lot more about the UI (which i still think is amazing 17 years later), not so much about the compiler.
You'd need a compiler if you wanted matching sweaters for your dog, chicken, and you.