1
0
Fork 0

chore: Remove plugin-bundle from designs

This commit is contained in:
joostdecock 2023-09-07 13:08:15 +02:00
parent 9c1b1eb390
commit 8df9fd8860
74 changed files with 4 additions and 186 deletions

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
export const front = { export const front = {
name: 'albert.front', name: 'albert.front',
measurements: ['chest', 'hpsToWaistBack', 'waist', 'waistToKnee', 'hips'], measurements: ['chest', 'hpsToWaistBack', 'waist', 'waistToKnee', 'hips'],
@ -9,7 +7,6 @@ export const front = {
bibLength: { pct: 75, min: 0, max: 90, menu: 'style' }, bibLength: { pct: 75, min: 0, max: 90, menu: 'style' },
lengthBonus: { pct: 0, min: -20, max: 25, menu: 'style' }, lengthBonus: { pct: 0, min: -20, max: 25, menu: 'style' },
}, },
plugins: pluginBundle,
draft: ({ draft: ({
options, options,
measurements, measurements,

View file

@ -1,5 +1,4 @@
import { pctBasedOn } from '@freesewing/core' import { pctBasedOn } from '@freesewing/core'
import { pluginBundle } from '@freesewing/plugin-bundle'
export const neckTie = { export const neckTie = {
name: 'bee.neckTie', name: 'bee.neckTie',
@ -24,7 +23,6 @@ export const neckTie = {
neckTieColours: { dflt: 'one', list: ['one', 'two'], menu: 'style' }, neckTieColours: { dflt: 'one', list: ['one', 'two'], menu: 'style' },
reversible: { bool: false, menu: 'style' }, reversible: { bool: false, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: ({ draft: ({
store, store,
sa, sa,

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
export const back = { export const back = {
name: 'bella.back', name: 'bella.back',
measurements: [ measurements: [
@ -49,7 +47,6 @@ export const back = {
frontShoulderWidth: { pct: 95, max: 98, min: 92, menu: 'advanced' }, frontShoulderWidth: { pct: 95, max: 98, min: 92, menu: 'advanced' },
highBustWidth: { pct: 86, max: 92, min: 80, menu: 'advanced' }, highBustWidth: { pct: 86, max: 92, min: 80, menu: 'advanced' },
}, },
plugins: [pluginBundle],
draft: ({ draft: ({
store, store,
sa, sa,

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftBenjaminBase({ function draftBenjaminBase({
store, store,
sa, sa,
@ -229,6 +227,5 @@ export const base = {
}, },
ribbonWidth: { pct: 6, min: 5, max: 8, menu: 'style' }, ribbonWidth: { pct: 6, min: 5, max: 8, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftBenjaminBase, draft: draftBenjaminBase,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
export const bib = { export const bib = {
name: 'bob.bib', name: 'bob.bib',
measurements: [], measurements: [],
@ -10,7 +8,6 @@ export const bib = {
lengthRatio: { pct: 75, min: 55, max: 85, menu: 'fit' }, lengthRatio: { pct: 75, min: 55, max: 85, menu: 'fit' },
headSize: { pct: 100, min: 10, max: 200, snap: 5, menu: 'size' }, headSize: { pct: 100, min: 10, max: 200, snap: 5, menu: 'size' },
}, },
plugins: [pluginBundle],
draft: ({ draft: ({
Point, Point,
points, points,

View file

@ -1,5 +1,4 @@
import { base } from './base.mjs' import { base } from './base.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftBreannaBack({ function draftBreannaBack({
sa, sa,
@ -291,6 +290,5 @@ function draftBreannaBack({
export const back = { export const back = {
from: base, from: base,
name: 'breanna.back', name: 'breanna.back',
plugins: [pluginBundle],
draft: draftBreannaBack, draft: draftBreannaBack,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { withCondition as bustPlugin } from '@freesewing/plugin-bust' import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
export const base = { export const base = {
@ -37,7 +36,7 @@ export const base = {
frontArmholeDeeper: { pct: 0.2, min: 0, max: 0.5, menu: 'advanced' }, frontArmholeDeeper: { pct: 0.2, min: 0, max: 0.5, menu: 'advanced' },
shoulderSlopeReduction: { pct: 0, min: 0, max: 80, menu: 'advanced' }, shoulderSlopeReduction: { pct: 0, min: 0, max: 80, menu: 'advanced' },
}, },
plugins: [pluginBundle, bustPlugin], plugins: [bustPlugin],
draft: ({ draft: ({
measurements, measurements,
options, options,

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { init } from './init.mjs' import { init } from './init.mjs'
function draftBruceBack({ function draftBruceBack({
@ -185,6 +184,5 @@ export const back = {
legStretch: { pct: 40, min: 25, max: 45, menu: 'fit' }, legStretch: { pct: 40, min: 25, max: 45, menu: 'fit' },
backRise: { pct: 5, min: 0, max: 10, menu: 'fit' }, backRise: { pct: 5, min: 0, max: 10, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: draftBruceBack, draft: draftBruceBack,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { panels } from './panels.mjs' import { panels } from './panels.mjs'
import { draftPanel1ab } from './panel1ab.mjs' import { draftPanel1ab } from './panel1ab.mjs'
@ -76,6 +75,5 @@ function draftCathrinPanel1(params) {
export const panel1 = { export const panel1 = {
name: 'cathrin.panel1', name: 'cathrin.panel1',
from: panels, from: panels,
plugins: [pluginBundle],
draft: draftCathrinPanel1, draft: draftCathrinPanel1,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { panels } from './panels.mjs' import { panels } from './panels.mjs'
function draftCathrinPanel2({ macro, sa, points, paths, Point, complete, paperless, part }) { function draftCathrinPanel2({ macro, sa, points, paths, Point, complete, paperless, part }) {
@ -75,6 +74,5 @@ function draftCathrinPanel2({ macro, sa, points, paths, Point, complete, paperle
export const panel2 = { export const panel2 = {
name: 'cathrin.panel2', name: 'cathrin.panel2',
from: panels, from: panels,
plugins: [pluginBundle],
draft: draftCathrinPanel2, draft: draftCathrinPanel2,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { panels } from './panels.mjs' import { panels } from './panels.mjs'
function draftCathrinPanel3({ macro, sa, points, paths, Point, complete, paperless, part }) { function draftCathrinPanel3({ macro, sa, points, paths, Point, complete, paperless, part }) {
@ -75,6 +74,5 @@ function draftCathrinPanel3({ macro, sa, points, paths, Point, complete, paperle
export const panel3 = { export const panel3 = {
name: 'cathrin.panel3', name: 'cathrin.panel3',
from: panels, from: panels,
plugins: [pluginBundle],
draft: draftCathrinPanel3, draft: draftCathrinPanel3,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { panels } from './panels.mjs' import { panels } from './panels.mjs'
function draftCathrinPanel4({ function draftCathrinPanel4({
@ -89,6 +88,5 @@ function draftCathrinPanel4({
export const panel4 = { export const panel4 = {
name: 'cathrin.panel4', name: 'cathrin.panel4',
from: panels, from: panels,
plugins: [pluginBundle],
draft: draftCathrinPanel4, draft: draftCathrinPanel4,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { panels } from './panels.mjs' import { panels } from './panels.mjs'
function draftCathrinPanel5({ macro, sa, points, paths, Point, complete, paperless, part }) { function draftCathrinPanel5({ macro, sa, points, paths, Point, complete, paperless, part }) {
@ -75,6 +74,5 @@ function draftCathrinPanel5({ macro, sa, points, paths, Point, complete, paperle
export const panel5 = { export const panel5 = {
name: 'cathrin.panel5', name: 'cathrin.panel5',
from: panels, from: panels,
plugins: [pluginBundle],
draft: draftCathrinPanel5, draft: draftCathrinPanel5,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { panels } from './panels.mjs' import { panels } from './panels.mjs'
function draftCathrinPanel6({ macro, sa, points, paths, Point, complete, paperless, part }) { function draftCathrinPanel6({ macro, sa, points, paths, Point, complete, paperless, part }) {
@ -80,6 +79,5 @@ function draftCathrinPanel6({ macro, sa, points, paths, Point, complete, paperle
export const panel6 = { export const panel6 = {
name: 'cathrin.panel6', name: 'cathrin.panel6',
from: panels, from: panels,
plugins: [pluginBundle],
draft: draftCathrinPanel6, draft: draftCathrinPanel6,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { frontpoints } from './frontpoints.mjs' import { frontpoints } from './frontpoints.mjs'
function draftCorneliusFront({ function draftCorneliusFront({
@ -247,6 +246,5 @@ export const front = {
pctKtoRup: 0.25, pctKtoRup: 0.25,
pctKtoH: 0.7, pctKtoH: 0.7,
}, },
plugins: [pluginBundle],
draft: draftCorneliusFront, draft: draftCorneliusFront,
} }

View file

@ -1,5 +1,4 @@
import { Design } from '@freesewing/core' import { Design } from '@freesewing/core'
import { pluginBundle } from '@freesewing/plugin-bundle'
import { gorePlugin } from '@freesewing/plugin-gore' import { gorePlugin } from '@freesewing/plugin-gore'
import { data } from '../data.mjs' import { data } from '../data.mjs'
import { i18n } from '../i18n/index.mjs' import { i18n } from '../i18n/index.mjs'
@ -34,7 +33,7 @@ const Examples = new Design({
// Settings // Settings
settings_sa, settings_sa,
], ],
plugins: [pluginBundle, gorePlugin], plugins: [gorePlugin],
}) })
// Named exports // Named exports

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function florenceMask({ function florenceMask({
points, points,
Point, Point,
@ -144,6 +142,5 @@ export const mask = {
height: { pct: 26, min: 23, max: 29, menu: 'fit' }, height: { pct: 26, min: 23, max: 29, menu: 'fit' },
curve: { pct: 12.5, min: 10, max: 15, menu: 'fit' }, curve: { pct: 12.5, min: 10, max: 15, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: florenceMask, draft: florenceMask,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftFlorentBrimBottom({ function draftFlorentBrimBottom({
paperless, paperless,
sa, sa,
@ -104,6 +102,5 @@ export const brimBottom = {
// Percentages // Percentages
headEase: { pct: 2, min: 0, max: 5, menu: 'fit' }, headEase: { pct: 2, min: 0, max: 5, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: draftFlorentBrimBottom, draft: draftFlorentBrimBottom,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftFlorentTop({ function draftFlorentTop({
paperless, paperless,
sa, sa,
@ -236,6 +234,5 @@ export const top = {
// Percentages // Percentages
headEase: { pct: 2, min: 0, max: 5, menu: 'fit' }, headEase: { pct: 2, min: 0, max: 5, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: draftFlorentTop, draft: draftFlorentTop,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftHiBody({ function draftHiBody({
store, store,
sa, sa,
@ -662,6 +660,5 @@ export const body = {
nosePointiness: { pct: 0, min: -5, max: +10, menu: 'style' }, nosePointiness: { pct: 0, min: -5, max: +10, menu: 'style' },
aggressive: { bool: false, menu: 'style' }, aggressive: { bool: false, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftHiBody, draft: draftHiBody,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { createTeeth } from './teeth.mjs' import { createTeeth } from './teeth.mjs'
function draftHiLowerTeeth({ function draftHiLowerTeeth({
@ -124,6 +123,5 @@ function draftHiLowerTeeth({
export const lowerTeeth = { export const lowerTeeth = {
name: 'hi.lowerTeeth', name: 'hi.lowerTeeth',
plugins: [pluginBundle],
draft: draftHiLowerTeeth, draft: draftHiLowerTeeth,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { createTeeth } from './teeth.mjs' import { createTeeth } from './teeth.mjs'
function draftHiUpperTeeth({ function draftHiUpperTeeth({
@ -124,6 +123,5 @@ function draftHiUpperTeeth({
export const upperTeeth = { export const upperTeeth = {
name: 'hi.upperTeeth', name: 'hi.upperTeeth',
plugins: [pluginBundle],
draft: draftHiUpperTeeth, draft: draftHiUpperTeeth,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftHolmesEar({ function draftHolmesEar({
Point, Point,
points, points,
@ -104,6 +102,5 @@ export const ear = {
earWidth: { pct: 100, min: 80, max: 150, menu: 'style' }, earWidth: { pct: 100, min: 80, max: 150, menu: 'style' },
buttonhole: { bool: false, menu: 'style' }, buttonhole: { bool: false, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftHolmesEar, draft: draftHolmesEar,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { pluginGore } from '@freesewing/plugin-gore' import { pluginGore } from '@freesewing/plugin-gore'
function draftHolmesGore({ function draftHolmesGore({
@ -103,6 +102,6 @@ export const gore = {
lengthRatio: { pct: 55, min: 40, max: 60, menu: 'style' }, lengthRatio: { pct: 55, min: 40, max: 60, menu: 'style' },
gores: { count: 6, min: 4, max: 20, menu: 'style' }, gores: { count: 6, min: 4, max: 20, menu: 'style' },
}, },
plugins: [pluginBundle, pluginGore], plugins: [pluginGore],
draft: draftHolmesGore, draft: draftHolmesGore,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { pctBasedOn } from '@freesewing/core' import { pctBasedOn } from '@freesewing/core'
function draftHolmesVisor({ function draftHolmesVisor({
@ -126,6 +125,5 @@ export const visor = {
visorWidth: { pct: 5, min: 1, max: 17, snap: 5, ...pctBasedOn('head'), menu: 'style' }, visorWidth: { pct: 5, min: 1, max: 17, snap: 5, ...pctBasedOn('head'), menu: 'style' },
visorLength: { pct: 100, min: 80, max: 150, menu: 'advanced' }, visorLength: { pct: 100, min: 80, max: 150, menu: 'advanced' },
}, },
plugins: [pluginBundle],
draft: draftHolmesVisor, draft: draftHolmesVisor,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { bottomsidepanel } from './bottomsidepanel.mjs' import { bottomsidepanel } from './bottomsidepanel.mjs'
function draftHortensiaSidepanel({ function draftHortensiaSidepanel({
@ -233,6 +232,5 @@ export const sidepanel = {
menu: 'style', menu: 'style',
}, },
}, },
plugins: [pluginBundle],
draft: draftHortensiaSidepanel, draft: draftHortensiaSidepanel,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { back as brianBack } from '@freesewing/brian' import { back as brianBack } from '@freesewing/brian'
import { sharedDimensions } from './shared.mjs' import { sharedDimensions } from './shared.mjs'
@ -97,6 +96,5 @@ export const back = {
ribbingHeight: { pct: 10, min: 5, max: 15, menu: 'style' }, ribbingHeight: { pct: 10, min: 5, max: 15, menu: 'style' },
hipsEase: { pct: 8, min: 4, max: 12, menu: 'fit' }, hipsEase: { pct: 8, min: 4, max: 12, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: draftHueyBack, draft: draftHueyBack,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { draftRibbing } from './shared.mjs' import { draftRibbing } from './shared.mjs'
function draftHueyCuff({ complete, points, measurements, options, macro, part }) { function draftHueyCuff({ complete, points, measurements, options, macro, part }) {
@ -23,6 +22,5 @@ export const cuff = {
options: { options: {
ribbingStretch: { pct: 15, min: 0, max: 30, menu: 'fit' }, ribbingStretch: { pct: 15, min: 0, max: 30, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: draftHueyCuff, draft: draftHueyCuff,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { draftRibbing } from './shared.mjs' import { draftRibbing } from './shared.mjs'
function draftHueyWaistband({ complete, points, measurements, options, macro, part }) { function draftHueyWaistband({ complete, points, measurements, options, macro, part }) {
@ -22,6 +21,5 @@ export const waistband = {
options: { options: {
ribbingStretch: { pct: 15, min: 0, max: 30, menu: 'fit' }, ribbingStretch: { pct: 15, min: 0, max: 30, menu: 'fit' },
}, },
plugins: [pluginBundle],
draft: draftHueyWaistband, draft: draftHueyWaistband,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendBartack({ points, Point, macro, part }) { function legendBartack({ points, Point, macro, part }) {
points.bartack = new Point(40, 20).attr('data-text', 'bartack').attr('data-text-dy', -2) points.bartack = new Point(40, 20).attr('data-text', 'bartack').attr('data-text-dy', -2)
@ -15,6 +14,5 @@ function legendBartack({ points, Point, macro, part }) {
export const bartack = { export const bartack = {
name: 'legend.bartack', name: 'legend.bartack',
plugins: pluginBundle,
draft: legendBartack, draft: legendBartack,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendButtons({ points, Point, snippets, Snippet, part }) { function legendButtons({ points, Point, snippets, Snippet, part }) {
points.a = new Point(30, 10) points.a = new Point(30, 10)
@ -15,6 +14,5 @@ function legendButtons({ points, Point, snippets, Snippet, part }) {
export const buttons = { export const buttons = {
name: 'legend.buttons', name: 'legend.buttons',
plugins: pluginBundle,
draft: legendButtons, draft: legendButtons,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendCutonfold({ points, Point, macro, part }) { function legendCutonfold({ points, Point, macro, part }) {
points.a = new Point(10, 20) points.a = new Point(10, 20)
@ -15,6 +14,5 @@ function legendCutonfold({ points, Point, macro, part }) {
export const cutonfold = { export const cutonfold = {
name: 'legend.cutonfold', name: 'legend.cutonfold',
plugins: pluginBundle,
draft: legendCutonfold, draft: legendCutonfold,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendDimension({ points, Point, macro, part }) { function legendDimension({ points, Point, macro, part }) {
points.a = new Point(10, 20) points.a = new Point(10, 20)
@ -15,6 +14,5 @@ function legendDimension({ points, Point, macro, part }) {
export const dimension = { export const dimension = {
name: 'legend.dimension', name: 'legend.dimension',
plugins: pluginBundle,
draft: legendDimension, draft: legendDimension,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendGrainline({ points, Point, macro, part }) { function legendGrainline({ points, Point, macro, part }) {
points.a = new Point(10, 20) points.a = new Point(10, 20)
@ -15,6 +14,5 @@ function legendGrainline({ points, Point, macro, part }) {
export const grainline = { export const grainline = {
name: 'legend.grainline', name: 'legend.grainline',
plugins: pluginBundle,
draft: legendGrainline, draft: legendGrainline,
} }

View file

@ -1,5 +1,4 @@
import { box, drawLine } from './shared.mjs' import { box, drawLine } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
const allFabricTypes = ['fabric', 'lining', 'canvas', 'interfacing', 'various'] const allFabricTypes = ['fabric', 'lining', 'canvas', 'interfacing', 'various']
const allLineTypes = ['note', 'mark', 'contrast', 'help'] const allLineTypes = ['note', 'mark', 'contrast', 'help']
@ -70,26 +69,21 @@ function legendOtherLines({ points, Point, paths, Path, part }) {
export const fabricLines = { export const fabricLines = {
name: 'legend.fabricLines', name: 'legend.fabricLines',
plugins: pluginBundle,
draft: legendFabricLines, draft: legendFabricLines,
} }
export const lineStrokes = { export const lineStrokes = {
name: 'legend.lineStrokes', name: 'legend.lineStrokes',
plugins: pluginBundle,
draft: legendLineStrokes, draft: legendLineStrokes,
} }
export const lineWidths = { export const lineWidths = {
name: 'legend.lineWidths', name: 'legend.lineWidths',
plugins: pluginBundle,
draft: legendLineWidths, draft: legendLineWidths,
} }
export const saLines = { export const saLines = {
name: 'legend.saLines', name: 'legend.saLines',
plugins: pluginBundle,
draft: legendSaLines, draft: legendSaLines,
} }
export const otherLines = { export const otherLines = {
name: 'legend.otherLines', name: 'legend.otherLines',
plugins: pluginBundle,
draft: legendOtherLines, draft: legendOtherLines,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendLogo({ points, Point, snippets, Snippet, part }) { function legendLogo({ points, Point, snippets, Snippet, part }) {
points.a = new Point(50, 40) points.a = new Point(50, 40)
@ -11,6 +10,5 @@ function legendLogo({ points, Point, snippets, Snippet, part }) {
export const logo = { export const logo = {
name: 'legend.logo', name: 'legend.logo',
plugins: pluginBundle,
draft: legendLogo, draft: legendLogo,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendNotches({ points, Point, snippets, Snippet, part }) { function legendNotches({ points, Point, snippets, Snippet, part }) {
points.a = new Point(30, 10) points.a = new Point(30, 10)
@ -15,6 +14,5 @@ function legendNotches({ points, Point, snippets, Snippet, part }) {
export const notches = { export const notches = {
name: 'legend.notches', name: 'legend.notches',
plugins: pluginBundle,
draft: legendNotches, draft: legendNotches,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendSa({ points, Point, paths, Path, part }) { function legendSa({ points, Point, paths, Path, part }) {
points.a = new Point(10, 40) points.a = new Point(10, 40)
@ -21,6 +20,5 @@ function legendSa({ points, Point, paths, Path, part }) {
export const sa = { export const sa = {
name: 'legend.sa', name: 'legend.sa',
plugins: pluginBundle,
draft: legendSa, draft: legendSa,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendScalebox({ points, Point, macro, part }) { function legendScalebox({ points, Point, macro, part }) {
points.a = new Point(55, 25) points.a = new Point(55, 25)
@ -10,6 +9,5 @@ function legendScalebox({ points, Point, macro, part }) {
export const scalebox = { export const scalebox = {
name: 'legend.scalebox', name: 'legend.scalebox',
plugins: pluginBundle,
draft: legendScalebox, draft: legendScalebox,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendSnaps({ points, Point, snippets, Snippet, part }) { function legendSnaps({ points, Point, snippets, Snippet, part }) {
points.a = new Point(30, 10) points.a = new Point(30, 10)
@ -15,6 +14,5 @@ function legendSnaps({ points, Point, snippets, Snippet, part }) {
export const snaps = { export const snaps = {
name: 'legend.snaps', name: 'legend.snaps',
plugins: pluginBundle,
draft: legendSnaps, draft: legendSnaps,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendTextSize({ points, Point, paths, Path, part }) { function legendTextSize({ points, Point, paths, Path, part }) {
points.xxxs1 = new Point(0, 10) points.xxxs1 = new Point(0, 10)
@ -106,6 +105,5 @@ function legendTextSize({ points, Point, paths, Path, part }) {
export const textSize = { export const textSize = {
name: 'legend.textSize', name: 'legend.textSize',
plugins: pluginBundle,
draft: legendTextSize, draft: legendTextSize,
} }

View file

@ -1,5 +1,4 @@
import { box } from './shared.mjs' import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendTitle({ points, Point, macro, part }) { function legendTitle({ points, Point, macro, part }) {
points.a = new Point(30, 30) points.a = new Point(30, 30)
@ -15,6 +14,5 @@ function legendTitle({ points, Point, macro, part }) {
export const title = { export const title = {
name: 'legend.title', name: 'legend.title',
plugins: pluginBundle,
draft: legendTitle, draft: legendTitle,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draft({ function draft({
options, options,
Point, Point,
@ -121,6 +119,5 @@ export const pocket = {
length: { pct: 50, min: 30, max: 100, menu: 'style' }, length: { pct: 50, min: 30, max: 100, menu: 'style' },
edge: { pct: 25, min: 20, max: 50, menu: 'style' }, edge: { pct: 25, min: 20, max: 50, menu: 'style' },
}, },
plugins: [pluginBundle],
draft, draft,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function lunetiusLacerna({ function lunetiusLacerna({
Point, Point,
points, points,
@ -175,6 +173,5 @@ export const lacerna = {
menu: 'style', menu: 'style',
}, },
}, },
plugins: pluginBundle,
draft: lunetiusLacerna, draft: lunetiusLacerna,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftBackPanel({ function draftBackPanel({
options, options,
Point, Point,
@ -124,6 +122,5 @@ export const backPanel = {
size: { pct: 100, min: 15, max: 200, menu: 'style' }, size: { pct: 100, min: 15, max: 200, menu: 'style' },
taperRatio: { pct: 60, min: 50, max: 100, menu: 'style' }, taperRatio: { pct: 60, min: 50, max: 100, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftBackPanel, draft: draftBackPanel,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftBodyLiner({ function draftBodyLiner({
options, options,
Point, Point,
@ -217,6 +215,5 @@ export const bodyLiner = {
flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' }, flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' },
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftBodyLiner, draft: draftBodyLiner,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftFrontOrganiserBase({ function draftFrontOrganiserBase({
options, options,
Point, Point,
@ -89,6 +87,5 @@ export const frontOrganiserBase = {
flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' }, flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' },
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftFrontOrganiserBase, draft: draftFrontOrganiserBase,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftFrontOrganiserFront({ function draftFrontOrganiserFront({
options, options,
Point, Point,
@ -112,6 +110,5 @@ export const frontOrganiserFront = {
flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' }, flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' },
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftFrontOrganiserFront, draft: draftFrontOrganiserFront,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftFrontPanel({ function draftFrontPanel({
options, options,
Point, Point,
@ -183,6 +181,5 @@ export const frontPanel = {
flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' }, flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' },
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftFrontPanel, draft: draftFrontPanel,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftInternalOrganiser({ function draftInternalOrganiser({
options, options,
Point, Point,
@ -100,6 +98,5 @@ export const internalOrganiser = {
flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' }, flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' },
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftInternalOrganiser, draft: draftInternalOrganiser,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftLidOnePiece({ function draftLidOnePiece({
options, options,
Point, Point,
@ -113,6 +111,5 @@ export const lidOnePiece = {
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
onePieceLid: { bool: false, menu: 'style' }, onePieceLid: { bool: false, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftLidOnePiece, draft: draftLidOnePiece,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftSidePanel({ function draftSidePanel({
options, options,
Point, Point,
@ -82,6 +80,5 @@ export const sidePanel = {
flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' }, flapHeightRatio: { pct: 83, min: 60, max: 100, menu: 'style' },
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftSidePanel, draft: draftSidePanel,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftStrapAttachments({ function draftStrapAttachments({
options, options,
Point, Point,
@ -129,6 +127,5 @@ export const strapAttachments = {
taperRatio: { pct: 60, min: 50, max: 100, menu: 'style' }, taperRatio: { pct: 60, min: 50, max: 100, menu: 'style' },
useCommonWebbingSizes: { bool: true, menu: 'style' }, useCommonWebbingSizes: { bool: true, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftStrapAttachments, draft: draftStrapAttachments,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftTwoPieceLidBottom({ function draftTwoPieceLidBottom({
options, options,
Point, Point,
@ -105,6 +103,5 @@ export const twoPieceLidBottom = {
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
onePieceLid: { bool: false, menu: 'style' }, onePieceLid: { bool: false, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftTwoPieceLidBottom, draft: draftTwoPieceLidBottom,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function draftTwoPieceLidTop({ function draftTwoPieceLidTop({
options, options,
Point, Point,
@ -113,6 +111,5 @@ export const twoPieceLidTop = {
openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' }, openingRatio: { pct: 66, min: 30, max: 90, menu: 'style' },
onePieceLid: { bool: false, menu: 'style' }, onePieceLid: { bool: false, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: draftTwoPieceLidTop, draft: draftTwoPieceLidTop,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function octoplushyHeadSection( function octoplushyHeadSection(
partNumber, partNumber,
{ {
@ -624,12 +622,10 @@ const options = {
export const headSection1 = { export const headSection1 = {
name: 'octoplushy.headSection1', name: 'octoplushy.headSection1',
options, options,
plugins: [ pluginBundle ],
draft: (params) => octoplushyHeadSection(0, params), draft: (params) => octoplushyHeadSection(0, params),
} }
export const headSection2 = { export const headSection2 = {
name: 'octoplushy.headSection2', name: 'octoplushy.headSection2',
options, options,
plugins: [ pluginBundle ],
draft: (params) => octoplushyHeadSection(1, params), draft: (params) => octoplushyHeadSection(1, params),
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { measurements, optionalMeasurements, options, BuildMainShape } from './shape.mjs' import { measurements, optionalMeasurements, options, BuildMainShape } from './shape.mjs'
function penelopeBack(params) { function penelopeBack(params) {
@ -137,6 +136,5 @@ export const back = {
measurements, measurements,
optionalMeasurements, optionalMeasurements,
options, options,
plugins: [pluginBundle],
draft: penelopeBack, draft: penelopeBack,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { measurements, optionalMeasurements, options, BuildMainShape } from './shape.mjs' import { measurements, optionalMeasurements, options, BuildMainShape } from './shape.mjs'
function penelopeFront(params) { function penelopeFront(params) {
@ -62,6 +61,5 @@ export const front = {
measurements, measurements,
optionalMeasurements, optionalMeasurements,
options, options,
plugins: [pluginBundle],
draft: penelopeFront, draft: penelopeFront,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { waistEase } from './shape.mjs' import { waistEase } from './shape.mjs'
function penelopeWaistband({ function penelopeWaistband({
@ -94,6 +93,5 @@ export const waistband = {
waistBand: { bool: true, menu: 'style' }, waistBand: { bool: true, menu: 'style' },
waistBandWidth: { pct: 10, min: 5, max: 20, menu: 'style' }, waistBandWidth: { pct: 10, min: 5, max: 20, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: penelopeWaistband, draft: penelopeWaistband,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
export const demo = { export const demo = {
name: 'rendertest.demo', name: 'rendertest.demo',
options: { options: {
@ -20,7 +18,6 @@ export const demo = {
], ],
}, },
}, },
plugins: [pluginBundle],
draft: (params) => { draft: (params) => {
const { store, options, Path, paths, Point, part } = params const { store, options, Path, paths, Point, part } = params
// Keep things in store // Keep things in store

View file

@ -1,6 +1,5 @@
import { draftRingSector } from './shared.mjs' import { draftRingSector } from './shared.mjs'
import { pctBasedOn } from '@freesewing/core' import { pctBasedOn } from '@freesewing/core'
import { pluginBundle } from '@freesewing/plugin-bundle'
import { elastics } from '@freesewing/snapseries' import { elastics } from '@freesewing/snapseries'
function sandySkirt({ function sandySkirt({
@ -214,7 +213,6 @@ function sandySkirt({
export const skirt = { export const skirt = {
name: 'sandy.skirt', name: 'sandy.skirt',
measurements: ['waist', 'waistToFloor', 'waistToHips', 'hips'], measurements: ['waist', 'waistToFloor', 'waistToHips', 'hips'],
plugins: pluginBundle,
options: { options: {
minimumOverlap: 15, // Lower than this and we don't draw a button minimumOverlap: 15, // Lower than this and we don't draw a button
seamlessFullCircle: { bool: false, menu: 'construction' }, seamlessFullCircle: { bool: false, menu: 'construction' },

View file

@ -1,6 +1,5 @@
import { pctBasedOn } from '@freesewing/core' import { pctBasedOn } from '@freesewing/core'
import { elastics } from '@freesewing/snapseries' import { elastics } from '@freesewing/snapseries'
import { pluginBundle } from '@freesewing/plugin-bundle'
function shinBack({ function shinBack({
store, store,
@ -186,7 +185,6 @@ function shinBack({
export const back = { export const back = {
name: 'shin.back', name: 'shin.back',
measurements: ['hips', 'upperLeg', 'waistToUpperLeg', 'waistToHips'], measurements: ['hips', 'upperLeg', 'waistToUpperLeg', 'waistToHips'],
plugins: [pluginBundle],
options: { options: {
frontFactor: 0.58, frontFactor: 0.58,
legFrontFactor: 0.48, legFrontFactor: 0.48,

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { withCondition as bustPlugin } from '@freesewing/plugin-bust' import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
function tamikoTop({ function tamikoTop({
@ -188,7 +187,7 @@ function tamikoTop({
export const top = { export const top = {
name: 'tamiko.top', name: 'tamiko.top',
plugins: [pluginBundle, bustPlugin], plugins: [bustPlugin],
draft: tamikoTop, draft: tamikoTop,
measurements: ['shoulderToShoulder', 'chest', 'hpsToWaistBack', 'shoulderSlope', 'waistToHips'], measurements: ['shoulderToShoulder', 'chest', 'hpsToWaistBack', 'shoulderSlope', 'waistToHips'],
optionalMeasurements: ['highBust'], optionalMeasurements: ['highBust'],

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function tiberiusTunica({ function tiberiusTunica({
Point, Point,
points, points,
@ -180,7 +178,6 @@ function tiberiusTunica({
export const tunica = { export const tunica = {
name: 'tiberius.tunica', name: 'tiberius.tunica',
plugins: [pluginBundle],
measurements: [ measurements: [
'head', 'head',
'shoulderToElbow', 'shoulderToElbow',

View file

@ -1,6 +1,5 @@
import { pctBasedOn } from '@freesewing/core' import { pctBasedOn } from '@freesewing/core'
import { elastics } from '@freesewing/snapseries' import { elastics } from '@freesewing/snapseries'
import { pluginBundle } from '@freesewing/plugin-bundle'
function titanBack({ function titanBack({
points, points,
@ -539,7 +538,6 @@ function titanBack({
export const back = { export const back = {
name: 'titan.back', name: 'titan.back',
plugins: [pluginBundle],
measurements: [ measurements: [
'crossSeam', 'crossSeam',
'crossSeamFront', 'crossSeamFront',

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { import {
calculateHelpers, calculateHelpers,
draftTieShape, draftTieShape,
@ -116,7 +115,6 @@ export const fabricTail = {
name: 'trayvon.fabricTail', name: 'trayvon.fabricTail',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
options, options,
plugins: [pluginBundle],
draft: trayvonFabricTail, draft: trayvonFabricTail,
} }
@ -124,6 +122,5 @@ export const fabricTip = {
name: 'trayvon.fabricTip', name: 'trayvon.fabricTip',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
options, options,
plugins: [pluginBundle],
draft: trayvonFabricTip, draft: trayvonFabricTip,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { draftTieShape, tieShapeDimensions, calculateHelpers, options } from './shared.mjs' import { draftTieShape, tieShapeDimensions, calculateHelpers, options } from './shared.mjs'
function trayvonInterfacingTail(params) { function trayvonInterfacingTail(params) {
@ -71,13 +70,11 @@ export const interfacingTail = {
name: 'trayvon.interfacingTail', name: 'trayvon.interfacingTail',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
options, options,
plugins: [pluginBundle],
draft: trayvonInterfacingTail, draft: trayvonInterfacingTail,
} }
export const interfacingTip = { export const interfacingTip = {
name: 'trayvon.interfacingTip', name: 'trayvon.interfacingTip',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
options, options,
plugins: [pluginBundle],
draft: trayvonInterfacingTip, draft: trayvonInterfacingTip,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import { import {
calculateHelpers, calculateHelpers,
draftTieShape, draftTieShape,
@ -123,7 +122,6 @@ export const liningTail = {
name: 'trayvon.liningTail', name: 'trayvon.liningTail',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
options, options,
plugins: [pluginBundle],
draft: trayvonLiningTail, draft: trayvonLiningTail,
} }
@ -131,6 +129,5 @@ export const liningTip = {
name: 'trayvon.liningTip', name: 'trayvon.liningTip',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
options, options,
plugins: [pluginBundle],
draft: trayvonLiningTip, draft: trayvonLiningTip,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function trayvonFabricLoop({ function trayvonFabricLoop({
points, points,
Point, Point,
@ -56,6 +54,5 @@ function trayvonFabricLoop({
export const fabricLoop = { export const fabricLoop = {
name: 'trayvon.fabricLoop', name: 'trayvon.fabricLoop',
measurements: ['hpsToWaistBack', 'waistToHips', 'neck'], measurements: ['hpsToWaistBack', 'waistToHips', 'neck'],
plugins: [pluginBundle],
draft: trayvonFabricLoop, draft: trayvonFabricLoop,
} }

View file

@ -1,11 +1,8 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
// This tutorial design is kinda weird, so we've // This tutorial design is kinda weird, so we've
// setup this part to hold options & measurements config // setup this part to hold options & measurements config
export const configpart = { export const configpart = {
name: 'tutorial.configpart', name: 'tutorial.configpart',
measurements: ['head'], measurements: ['head'],
plugins: [pluginBundle],
options: { options: {
size: { pct: 50, min: 10, max: 100 }, size: { pct: 50, min: 10, max: 100 },
neckRatio: { pct: 80, min: 70, max: 90 }, neckRatio: { pct: 80, min: 70, max: 90 },

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
export const front = { export const front = {
name: 'unice.front', name: 'unice.front',
measurements: ['waist', 'seat', 'waistToSeat', 'waistToUpperLeg', 'hips', 'waistToHips'], measurements: ['waist', 'seat', 'waistToSeat', 'waistToUpperLeg', 'hips', 'waistToHips'],
@ -19,7 +17,6 @@ export const front = {
useCrossSeam: { bool: true, menu: 'fit' }, useCrossSeam: { bool: true, menu: 'fit' },
adjustStretch: { bool: true, menu: 'fit' }, // to not stretch fabric to the limits adjustStretch: { bool: true, menu: 'fit' }, // to not stretch fabric to the limits
}, },
plugins: [pluginBundle],
draft: ({ draft: ({
utils, utils,
store, store,

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function ursulaFront({ function ursulaFront({
options, options,
Point, Point,
@ -216,6 +214,5 @@ export const front = {
frontDip: { pct: 5.0, min: -5, max: 15, menu: 'style' }, frontDip: { pct: 5.0, min: -5, max: 15, menu: 'style' },
taperToGusset: { pct: 70, min: 5, max: 100, menu: 'style' }, taperToGusset: { pct: 70, min: 5, max: 100, menu: 'style' },
}, },
plugins: [pluginBundle],
draft: ursulaFront, draft: ursulaFront,
} }

View file

@ -1,5 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function walburgaBase({ function walburgaBase({
Point, Point,
points, points,
@ -211,6 +209,5 @@ export const base = {
neckline, neckline,
neckoRatio, neckoRatio,
}, },
plugins: [pluginBundle],
draft: walburgaBase, draft: walburgaBase,
} }

View file

@ -1,4 +1,3 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
import * as options from './options.mjs' import * as options from './options.mjs'
function waraleePantsProto({ options, measurements, Point, Path, points, paths, store, part }) { function waraleePantsProto({ options, measurements, Point, Path, points, paths, store, part }) {
@ -314,6 +313,5 @@ export const pantsProto = {
measurements: ['seat', 'inseam', 'crotchDepth', 'waistToHips'], measurements: ['seat', 'inseam', 'crotchDepth', 'waistToHips'],
optionalMeasurements: ['waist', 'waistBack'], optionalMeasurements: ['waist', 'waistBack'],
options, options,
plugins: [pluginBundle],
draft: waraleePantsProto, draft: waraleePantsProto,
} }