2020-06-30 08:53:56 +02:00
|
|
|
import { version } from '../package.json'
|
2021-10-13 01:30:33 +01:00
|
|
|
import freesewing from '@freesewing/core'
|
|
|
|
const { pctBasedOn } = freesewing
|
2019-09-13 15:56:35 +01:00
|
|
|
// ?? 🤔 ?? --> https://en.freesewing.dev/packages/core/config
|
|
|
|
|
|
|
|
export default {
|
2020-06-30 08:53:56 +02:00
|
|
|
name: 'holmes',
|
2021-08-24 15:37:35 +01:00
|
|
|
version,
|
2021-01-08 12:15:05 +01:00
|
|
|
design: 'Erica Alcusa Sáez',
|
2021-10-13 01:30:33 +01:00
|
|
|
code: ['Erica Alcusa Sáez', 'bobgeorgethe3rd'],
|
2020-06-30 08:53:56 +02:00
|
|
|
department: 'accessories',
|
|
|
|
type: 'pattern',
|
2019-09-13 15:56:35 +01:00
|
|
|
difficulty: 3,
|
|
|
|
optionGroups: {
|
2021-10-15 16:13:21 +02:00
|
|
|
fit: ['headEase'],
|
|
|
|
style: [
|
|
|
|
'lengthRatio',
|
|
|
|
'goreNumber',
|
|
|
|
'visorAngle',
|
|
|
|
'visorWidth',
|
|
|
|
'earLength',
|
|
|
|
'earWidth',
|
|
|
|
'buttonhole',
|
|
|
|
],
|
|
|
|
advanced: ['visorLength'],
|
2019-09-13 15:56:35 +01:00
|
|
|
},
|
2020-06-30 08:53:56 +02:00
|
|
|
measurements: ['head'],
|
2019-09-13 15:56:35 +01:00
|
|
|
dependencies: {},
|
|
|
|
inject: {},
|
|
|
|
hide: [],
|
2021-10-13 01:30:33 +01:00
|
|
|
parts: ['gore', 'visor', 'ear'],
|
2019-09-13 15:56:35 +01:00
|
|
|
options: {
|
2021-10-15 16:13:21 +02:00
|
|
|
headEase: {
|
|
|
|
pct: 3,
|
|
|
|
min: 0,
|
|
|
|
max: 9,
|
|
|
|
snap: {
|
|
|
|
metric: [6, 13, 19, 25, 32, 38, 44, 50],
|
|
|
|
imperial: [6.35, 12.7, 19.05, 25.4, 31.75, 38.1, 44.45, 50.8],
|
2021-10-13 01:30:33 +01:00
|
|
|
},
|
2021-10-15 16:13:21 +02:00
|
|
|
...pctBasedOn('head'),
|
|
|
|
},
|
2019-09-13 15:56:35 +01:00
|
|
|
lengthRatio: { pct: 55, min: 40, max: 60 },
|
|
|
|
goreNumber: { count: 6, min: 4, max: 20 },
|
2021-10-13 01:30:33 +01:00
|
|
|
visorAngle: { deg: 45, min: 10, max: 90 },
|
2021-10-15 16:13:21 +02:00
|
|
|
visorWidth: { pct: 5, min: 1, max: 17, snap: 5, ...pctBasedOn('head') },
|
|
|
|
earLength: { pct: 100, min: 80, max: 150 },
|
|
|
|
earWidth: { pct: 100, min: 80, max: 150 },
|
|
|
|
visorLength: { pct: 100, min: 80, max: 150 },
|
|
|
|
buttonhole: { bool: false },
|
2021-09-09 20:25:59 +02:00
|
|
|
},
|
2020-06-30 08:53:56 +02:00
|
|
|
}
|