sophie
This design is part of the FreeSewing collection
Named exports
Sophie: The design constructorabout: Metadata about the designbackPanel: The backPanel part of the designbackStrap: The backStrap part of the designcup: The cup part of the designfrontPanel: The frontPanel part of the designi18n: Internationalisation (i18n/translation) data for the design
Constructor
To create a new sophie Design, import the constructur as such:
import { Sophie } from '@freesewing/sophie'
Then you can instantiate it by passing a settings object:
const pattern = new Sophie(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 { Sophie } from '@freesewing/sophie'
// Access the design config from the constructor
const dConf = Sophie.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 { Sophie } from '@freesewing/sophie'
// Access the pattern config from the constructor
const pConf = Sophie.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/sophie'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/sophie'
Parts
backPanel
The part itself
You can access this part as the backPanel named export:
import { backPanel } from '@freesewing/sophie'
backStrap
The part itself
You can access this part as the backStrap named export:
import { backStrap } from '@freesewing/sophie'
cup
The part itself
You can access this part as the cup named export:
import { cup } from '@freesewing/sophie'
frontPanel
The part itself
You can access this part as the frontPanel named export:
import { frontPanel } from '@freesewing/sophie'