1
0
Fork 0
freesewing/designs/tutorial/src/configpart.mjs

18 lines
532 B
JavaScript
Raw Normal View History

2022-09-02 20:01:22 +02:00
import { pluginBundle } from '@freesewing/plugin-bundle'
// This tutorial design is kinda weird, so we've
// setup this part to hold options & measurements config
export const configpart = {
name: 'tutorial.configpart',
measurements: ['head'],
2022-09-15 13:49:55 +02:00
plugins: [pluginBundle],
2022-09-02 20:01:22 +02:00
options: {
size: { pct: 50, min: 10, max: 100 },
neckRatio: { pct: 80, min: 70, max: 90 },
widthRatio: { pct: 45, min: 35, max: 55 },
lengthRatio: { pct: 75, min: 55, max: 85 },
},
2023-03-07 18:12:40 -06:00
hide: { self: true },
2022-09-15 13:49:55 +02:00
draft: ({ part }) => part,
2022-09-02 20:01:22 +02:00
}