lumira
This design is part of the FreeSewing collection
Named exports
Lumira: The design constructorabout: Metadata about the designcontrolPoints: The controlPoints part of the designcreateControlPoints: The createControlPoints part of the designextendPath: The extendPath part of the designgusset: The gusset part of the designi18n: Internationalisation (i18n/translation) data for the designleg: The leg part of the designshape: The shape part of the designwaistband: The waistband part of the design
Constructor
To create a new lumira Design, import the constructur as such:
import { Lumira } from '@freesewing/lumira'
Then you can instantiate it by passing a settings object:
const pattern = new Lumira(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 { Lumira } from '@freesewing/lumira'
// Access the design config from the constructor
const dConf = Lumira.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 { Lumira } from '@freesewing/lumira'
// Access the pattern config from the constructor
const pConf = Lumira.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/lumira'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/lumira'
Parts
controlPoints
The part itself
You can access this part as the controlPoints named export:
import { controlPoints } from '@freesewing/lumira'
createControlPoints
The part itself
You can access this part as the createControlPoints named export:
import { createControlPoints } from '@freesewing/lumira'
extendPath
The part itself
You can access this part as the extendPath named export:
import { extendPath } from '@freesewing/lumira'
gusset
The part itself
You can access this part as the gusset named export:
import { gusset } from '@freesewing/lumira'
leg
The part itself
You can access this part as the leg named export:
import { leg } from '@freesewing/lumira'
shape
The part itself
You can access this part as the shape named export:
import { shape } from '@freesewing/lumira'
waistband
The part itself
You can access this part as the waistband named export:
import { waistband } from '@freesewing/lumira'