1.5 KiB
1.5 KiB
title |
---|
plugin-measurements |
Published as @freesewing/plugin-measurements, this plugin will provide a number of extra measurements to your design insofar as they can be deduced from the measurements that are provided.
It will add the following measurements:
seatFront
(if bothseat
andseatBack
are provided)seatBackArc
(if bothseat
andseatBack
are provided)seatFrontArc
(if bothseat
andseatBack
are provided)waistFront
(if bothwaist
andwaistBack
are provided)waistBackArc
(if bothwaist
andwaistBack
are provided)waistFrontArc
(if bothwaist
andwaistBack
are provided)crossSeamBack
(if bothcrossSeam
andcrossSeamFront
are provided)
Installation
npm install @freesewing/plugin-measurements
Usage
Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().
To import the plugin for use:
import { measurementsPlugin } from '@freesewing/plugin-measurements'
// or
import { pluginMeasurements } from '@freesewing/plugin-measurements'
Notes
The measurements plugin is part of our plugin-bundle