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

85 lines
2 KiB
JavaScript
Raw Normal View History

import pkg from '../package.json'
2022-05-21 18:11:20 +02:00
import Brian from '@freesewing/brian'
2019-03-03 16:04:24 +01:00
export default {
name: 'huey',
version: pkg.version,
design: 'Joost De Cock',
code: 'Joost De Cock',
department: 'tops',
type: 'pattern',
difficulty: 3,
optionGroups: {
fit: [
'bicepsEase',
'chestEase',
'cuffEase',
'collarEase',
'shoulderEase',
'hipsEase',
2021-04-24 10:16:31 +02:00
'ribbingStretch',
],
style: [
'lengthBonus',
'sleeveLengthBonus',
'ribbing',
'pocket',
'ribbingHeight',
'pocketHeight',
'pocketWidth',
'hoodHeight',
'hoodCutback',
'hoodClosure',
'hoodDepth',
2021-04-24 10:16:31 +02:00
'hoodAngle',
2021-06-13 15:08:06 +02:00
's3Collar',
's3Armhole',
],
2022-05-21 18:11:20 +02:00
advanced: Brian.config.optionGroups.advanced,
},
2019-03-03 16:04:24 +01:00
measurements: [
2022-05-21 18:11:20 +02:00
...Brian.config.measurements,
'head',
'hips',
2019-03-03 16:04:24 +01:00
],
dependencies: {
backBase: 'base',
frontBase: 'backBase',
sleevecap: 'frontBase',
sleeveBase: 'sleevecap',
back: 'backBase',
front: ['frontBase', 'back'],
sleeve: ['sleeveBase', 'back'],
2021-04-24 10:16:31 +02:00
pocket: 'front',
hood: ['front', 'back'],
2019-03-03 16:04:24 +01:00
},
inject: {
backBase: 'base',
frontBase: 'backBase',
sleeveBase: 'sleevecap',
back: 'backBase',
front: 'frontBase',
sleeve: 'sleeveBase',
2021-04-24 10:16:31 +02:00
pocket: 'front',
2019-03-03 16:04:24 +01:00
},
hide: ['base', 'sleevecap', 'backBase', 'frontBase', 'sleeveBase'],
parts: ['hood', 'waistband', 'cuff'],
2019-03-03 16:04:24 +01:00
options: {
2022-05-21 18:11:20 +02:00
...Brian.config.options,
2019-03-03 16:04:24 +01:00
2022-05-21 18:11:20 +02:00
// Specific to Huey
2019-03-03 16:04:24 +01:00
ribbing: { bool: true },
pocket: { bool: true },
ribbingHeight: { pct: 10, min: 5, max: 15 },
2019-03-03 16:04:24 +01:00
pocketHeight: { pct: 30, min: 25, max: 35 },
pocketWidth: { pct: 60, min: 50, max: 70 },
hipsEase: { pct: 8, min: 4, max: 12 },
hoodHeight: { pct: 59, min: 55, max: 65 },
hoodCutback: { pct: 10, min: 5, max: 15 },
hoodClosure: { pct: 13.5, min: 10, max: 15 },
hoodDepth: { pct: 8.5, min: 5, max: 12 },
ribbingStretch: { pct: 15, min: 0, max: 30 },
2021-04-24 10:16:31 +02:00
hoodAngle: { deg: 5, min: 2, max: 8 },
},
}