Skip to main content

tristan

note

This design is part of the FreeSewing collection

Named exports

Constructor

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

import { Tristan } from '@freesewing/tristan'

Then you can instantiate it by passing a settings object:

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

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

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

Metadata

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

import { about } from '@freesewing/tristan'

I18n

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

import { i18n } from '@freesewing/tristan'

Parts

backInside

The part itself

You can access this part as the backInside named export:

import { backInside } from '@freesewing/tristan'

backOutside

The part itself

You can access this part as the backOutside named export:

import { backOutside } from '@freesewing/tristan'

backPoints

The part itself

You can access this part as the backPoints named export:

import { backPoints } from '@freesewing/tristan'

frontInside

The part itself

You can access this part as the frontInside named export:

import { frontInside } from '@freesewing/tristan'

frontOutside

The part itself

You can access this part as the frontOutside named export:

import { frontOutside } from '@freesewing/tristan'

frontPoints

The part itself

You can access this part as the frontPoints named export:

import { frontPoints } from '@freesewing/tristan'

peplumBack

The part itself

You can access this part as the peplumBack named export:

import { peplumBack } from '@freesewing/tristan'

peplumFront

The part itself

You can access this part as the peplumFront named export:

import { peplumFront } from '@freesewing/tristan'