hugo
This design is part of the FreeSewing collection
Named exports
Hugo: The design constructorabout: Metadata about the designback: The back part of the designcuff: The cuff part of the designfront: The front part of the designhoodCenter: The hoodCenter part of the designhoodSide: The hoodSide part of the designi18n: Internationalisation (i18n/translation) data for the designneckBinding: The neckBinding part of the designpocket: The pocket part of the designpocketFacing: The pocketFacing part of the designsleeve: The sleeve part of the designwaistband: The waistband part of the design
Constructor
To create a new hugo Design, import the constructur as such:
import { Hugo } from '@freesewing/hugo'
Then you can instantiate it by passing a settings object:
const pattern = new Hugo(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 { Hugo } from '@freesewing/hugo'
// Access the design config from the constructor
const dConf = Hugo.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 { Hugo } from '@freesewing/hugo'
// Access the pattern config from the constructor
const pConf = Hugo.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/hugo'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/hugo'
Parts
back
The part itself
You can access this part as the back named export:
import { back } from '@freesewing/hugo'
cuff
The part itself
You can access this part as the cuff named export:
import { cuff } from '@freesewing/hugo'
front
The part itself
You can access this part as the front named export:
import { front } from '@freesewing/hugo'
hoodCenter
The part itself
You can access this part as the hoodCenter named export:
import { hoodCenter } from '@freesewing/hugo'
hoodSide
The part itself
You can access this part as the hoodSide named export:
import { hoodSide } from '@freesewing/hugo'
neckBinding
The part itself
You can access this part as the neckBinding named export:
import { neckBinding } from '@freesewing/hugo'
pocket
The part itself
You can access this part as the pocket named export:
import { pocket } from '@freesewing/hugo'
pocketFacing
The part itself
You can access this part as the pocketFacing named export:
import { pocketFacing } from '@freesewing/hugo'
sleeve
The part itself
You can access this part as the sleeve named export:
import { sleeve } from '@freesewing/hugo'
waistband
The part itself
You can access this part as the waistband named export:
import { waistband } from '@freesewing/hugo'