crux
This design is part of the FreeSewing collection
Named exports
Crux: The design constructorabout: Metadata about the designback: The back part of the designbackPocket: The backPocket part of the designbackPocketCargo: The backPocketCargo part of the designbackPocketFacing: The backPocketFacing part of the designbackPocketPoints: The backPocketPoints part of the designbasepoints: The basepoints part of the designflyShield: The flyShield part of the designfront: The front part of the designfrontPocket: The frontPocket part of the designfrontPocketCargo: The frontPocketCargo part of the designfrontPocketFacing: The frontPocketFacing part of the designfrontPocketPoints: The frontPocketPoints part of the designgusset: The gusset part of the designi18n: Internationalisation (i18n/translation) data for the designwaistband: The waistband part of the designwaistbanda: The waistbanda part of the design
Constructor
To create a new crux Design, import the constructur as such:
import { Crux } from '@freesewing/crux'
Then you can instantiate it by passing a settings object:
const pattern = new Crux(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 { Crux } from '@freesewing/crux'
// Access the design config from the constructor
const dConf = Crux.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 { Crux } from '@freesewing/crux'
// Access the pattern config from the constructor
const pConf = Crux.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/crux'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/crux'
Parts
back
The part itself
You can access this part as the back named export:
import { back } from '@freesewing/crux'
backPocket
The part itself
You can access this part as the backPocket named export:
import { backPocket } from '@freesewing/crux'
backPocketCargo
The part itself
You can access this part as the backPocketCargo named export:
import { backPocketCargo } from '@freesewing/crux'
backPocketFacing
The part itself
You can access this part as the backPocketFacing named export:
import { backPocketFacing } from '@freesewing/crux'
backPocketPoints
The part itself
You can access this part as the backPocketPoints named export:
import { backPocketPoints } from '@freesewing/crux'
basepoints
The part itself
You can access this part as the basepoints named export:
import { basepoints } from '@freesewing/crux'
flyShield
The part itself
You can access this part as the flyShield named export:
import { flyShield } from '@freesewing/crux'
front
The part itself
You can access this part as the front named export:
import { front } from '@freesewing/crux'
frontPocket
The part itself
You can access this part as the frontPocket named export:
import { frontPocket } from '@freesewing/crux'
frontPocketCargo
The part itself
You can access this part as the frontPocketCargo named export:
import { frontPocketCargo } from '@freesewing/crux'
frontPocketFacing
The part itself
You can access this part as the frontPocketFacing named export:
import { frontPocketFacing } from '@freesewing/crux'
frontPocketPoints
The part itself
You can access this part as the frontPocketPoints named export:
import { frontPocketPoints } from '@freesewing/crux'
gusset
The part itself
You can access this part as the gusset named export:
import { gusset } from '@freesewing/crux'
waistband
The part itself
You can access this part as the waistband named export:
import { waistband } from '@freesewing/crux'
waistbanda
The part itself
You can access this part as the waistbanda named export:
import { waistbanda } from '@freesewing/crux'