1
0
Fork 0
freesewing/packages/walburga/config/index.js

64 lines
1.3 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
// ?? 🤔 ?? --> https://en.freesewing.dev/packages/core/config
export default {
name: 'walburga',
version,
design: 'starf',
code: 'starf',
department: 'tops',
type: 'pattern',
difficulty: 1,
2021-10-08 17:32:12 +02:00
tags: [
'freesewing',
'design',
'diy',
'fashion',
'made to measure',
'parametric design',
'pattern',
'sewing',
'sewing pattern',
],
optionGroups: {
2021-10-08 17:32:12 +02:00
fit: ['headRatio'],
style: [
'lengthBonus',
'widthBonus',
'length',
'neckoRatio',
'hipLengthBonus',
'neckline',
],
2021-10-08 17:32:12 +02:00
},
measurements: [
'head',
'neck',
'shoulderToShoulder',
'hpsToWaistBack',
'waistToKnee',
'waistToHips',
'waistToFloor',
'waistToUpperLeg',
],
dependencies: { front: 'base', back: 'base' },
inject: {
front: 'base',
back: 'base',
},
hide: ['base'],
options: {
2021-10-08 17:32:12 +02:00
headRatio: { pct: 100, min: 80, max: 120 },
lengthBonus: { pct: 85, min: 60, max: 130 },
widthBonus: { pct: 95, min: 50, max: 130 },
length: {
list: ['ToKnee', 'ToMidLeg', 'ToFloor'],
dflt: 'ToKnee',
},
neckline: { bool: true },
neckoRatio: { pct: 100, min: 10, max: 190 },
hipLengthBonus: { pct: 95, min: 80, max: 120 },
},
}