Skip to main content

lunetius

note

This design is part of the FreeSewing collection

Named exports​

Constructor​

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

import { Lunetius } from '@freesewing/lunetius'

Then you can instantiate it by passing a settings object:

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

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

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

Metadata​

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

import { about } from '@freesewing/lunetius'

I18n​

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

import { i18n } from '@freesewing/lunetius'

Parts​

lacerna​

The part itself​

You can access this part as the lacerna named export:

import { lacerna } from '@freesewing/lunetius'