Socket
Book a DemoInstallSign in
Socket

@freesewing/antmantest

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freesewing/antmantest

The ant-man test; Body measurement to torture/test your freesewing patterns with

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

freesewing

FAQs

Package last updated on 10 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.