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

68 lines
1.6 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
2018-08-11 16:42:35 +02:00
export default {
name: 'aaron',
version,
design: 'Joost De Cock',
code: 'Joost De Cock',
department: 'unisex',
type: 'pattern',
difficulty: 3,
tags: ['underwear', 'top', 'basics'],
optionGroups: {
fit: ['chestEase', 'hipsEase', 'stretchFactor'],
style: [
'armholeDrop',
'backlineBend',
'necklineBend',
'necklineDrop',
'shoulderStrapWidth',
'shoulderStrapPlacement',
'lengthBonus'
]
},
2018-08-11 16:42:35 +02:00
measurements: [
'bicepsCircumference',
'chestCircumference',
'hpsToWaistBack',
'waistToHips',
'neckCircumference',
'shoulderSlope',
'shoulderToShoulder',
'hipsCircumference'
2018-08-11 16:42:35 +02:00
],
2018-12-19 09:17:42 +01:00
dependencies: {
front: 'base',
back: 'front'
2018-12-19 09:17:42 +01:00
},
inject: {
front: 'base',
back: 'front'
2018-12-19 09:17:42 +01:00
},
hide: ['base'],
2018-08-11 16:42:35 +02:00
options: {
// Constants
collarFactor: 4.8,
acrossBackFactor: 0.97,
backNeckCutout: 0.05,
bicepsEase: 0.05,
shoulderEase: 0,
collarEase: 0,
frontArmholeDeeper: 0,
armholeDepthFactor: 0.6,
shoulderSlopeReduction: 0,
2018-08-11 16:42:35 +02:00
// Percentages
armholeDrop: { pct: 10, min: 0, max: 75 },
backlineBend: { pct: 50, min: 25, max: 100 },
chestEase: { pct: 8, min: 0, max: 20 },
hipsEase: { pct: 8, min: 0, max: 20 },
lengthBonus: { pct: 10, min: -20, max: 60 },
necklineBend: { pct: 100, min: 40, max: 100 },
necklineDrop: { pct: 20, min: 10, max: 35 },
stretchFactor: { pct: 5, min: 0, max: 15 },
shoulderStrapWidth: { pct: 15, min: 10, max: 40 },
shoulderStrapPlacement: { pct: 40, min: 20, max: 80 }
2018-08-11 16:42:35 +02:00
}
}