Skip to main content

benjamin

note

This design is part of the FreeSewing collection

Named exports

Constructor

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

import { Benjamin } from '@freesewing/benjamin'

Then you can instantiate it by passing a settings object:

const pattern = new Benjamin(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 { Benjamin } from '@freesewing/benjamin'

// Access the design config from the constructor
const dConf = Benjamin.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 { Benjamin } from '@freesewing/benjamin'

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

Metadata

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

import { about } from '@freesewing/benjamin'

I18n

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

import { i18n } from '@freesewing/benjamin'

Parts

bow1

The part itself

You can access this part as the bow1 named export:

import { bow1 } from '@freesewing/benjamin'

bow2

The part itself

You can access this part as the bow2 named export:

import { bow2 } from '@freesewing/benjamin'

bow3

The part itself

You can access this part as the bow3 named export:

import { bow3 } from '@freesewing/benjamin'

collarBand

The part itself

You can access this part as the collarBand named export:

import { collarBand } from '@freesewing/benjamin'