Skip to main content

bruce

note

This design is part of the FreeSewing collection

Named exports

Constructor

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

import { Bruce } from '@freesewing/bruce'

Then you can instantiate it by passing a settings object:

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

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

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

Metadata

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

import { about } from '@freesewing/bruce'

I18n

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

import { i18n } from '@freesewing/bruce'

Parts

back

The part itself

You can access this part as the back named export:

import { back } from '@freesewing/bruce'

front

The part itself

You can access this part as the front named export:

import { front } from '@freesewing/bruce'

inset

The part itself

You can access this part as the inset named export:

import { inset } from '@freesewing/bruce'

side

The part itself

You can access this part as the side named export:

import { side } from '@freesewing/bruce'