@freesewing/antmantest

    0.1.0 • Public • Published

    Freesewing logo

     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)

    If well-designed pattern will scale a factor 10 down and hold its shape.

    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.

    Install

    npm i @freesewing/antmantest

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    177 kB

    Total Files

    7

    Last publish

    Collaborators

    • joostdecock