freesewing
a library for made-to-measure sewing patterns
Ant-man test
The ant-man test; Body measurement to torture/test your freesewing patterns with.
About
When designing patterns for freesewing, you should refrain from using absolute values.
That 6cm ease you add might be fine for all scenarios you tested, but then somebody comes around who is twice your size, or who is making clothes for a doll, and things will go off the rails.
That's why we put our patterns through the ant-man test. We sample the pattern for 2 models:
- A model with measurements of avarage person (the man)
- A model with measurements 1/10th of an average person (the ant)
A well-designed pattern will scale a factor 10 down and hold its shape.
If a pattern makes assumptions about size, this test will show that.
Install
npm install --save @freesewing/antmantest
Usage
In node.js:
import models from @freesewing/antmantest
Then sample your pattern with these:
pattern.sampleModels(freesewing.models);
In the browser, this will register as freesewing.antmantest
:
<script type="text/javascript" src="https://unpkg.com/freesewing"></script>
<script type="text/javascript" src="https://unpkg.com/@freesewing/antmantest"></script>
<script type="text/javascript" src="https://unpkg.com/@freesewing/pattern-brian"></script>
<script>
var pattern = freesewing.patterns.brian;
pattern.sampleModels(freesewing.antmantest);
</script>
Build
To build this, run:
npm run build
License: MIT
See the license file for details.