Skip to main content

otis

note

This design is part of the FreeSewing collection

Named exports

Constructor

To create a new otis Design, import the constructur as such:

import { Otis } from '@freesewing/otis'

Then you can instantiate it by passing a settings object:

const pattern = new Otis(settings)

Design config

You can access the design configuration without instantiating a design. It is available as the designConfig property of the design constructor:

import { Otis } from '@freesewing/otis'

// Access the design config from the constructor
const dConf = Otis.designConfig

Pattern config

You can access the pattern configuration without instantiating a design. It is available as the patternConfig property of the design constructor:

import { Otis } from '@freesewing/otis'

// Access the pattern config from the constructor
const pConf = Otis.patternConfig

Metadata

You can access the design's metadata through the about named export:

import { about } from '@freesewing/otis'

I18n

You can access the design's internationalization data through the i18n named export:

import { i18n } from '@freesewing/otis'

Parts

back

The part itself

You can access this part as the back named export:

import { back } from '@freesewing/otis'

bindingLeg

The part itself

You can access this part as the bindingLeg named export:

import { bindingLeg } from '@freesewing/otis'

bindingNeckBack

The part itself

You can access this part as the bindingNeckBack named export:

import { bindingNeckBack } from '@freesewing/otis'

bindingNeckFront

The part itself

You can access this part as the bindingNeckFront named export:

import { bindingNeckFront } from '@freesewing/otis'

front

The part itself

You can access this part as the front named export:

import { front } from '@freesewing/otis'

longsleeve

The part itself

You can access this part as the longsleeve named export:

import { longsleeve } from '@freesewing/otis'

shortsleeve

The part itself

You can access this part as the shortsleeve named export:

import { shortsleeve } from '@freesewing/otis'