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

187 lines
3.2 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
2019-02-17 17:21:39 +01:00
export default {
name: 'wahid',
2019-02-17 17:21:39 +01:00
version,
design: 'Joost De Cock',
code: 'Joost De Cock',
department: 'menswear',
type: 'pattern',
difficulty: 4,
tags: ['top', 'formal'],
optionGroups: {
fit: [
'chestEase',
'waistEase',
'hipsEase',
'lengthBonus',
'armholeDepthFactor',
'backScyeDart',
'frontScyeDart',
'centerBackDart'
],
style: [
'pocketLocation',
'pocketWidth',
'weltHeight',
'necklineDrop',
'frontStyle',
'hemStyle',
'hemRadius',
'buttons'
],
advanced: ['backInset', 'frontInset', 'shoulderInset', 'neckInset', 'pocketAngle']
},
2019-02-17 17:21:39 +01:00
measurements: [
'bicepsCircumference',
'chestCircumference',
'hipsCircumference',
'hpsToHipsBack',
'naturalWaistToHip',
'neckCircumference',
'shoulderSlope',
'shoulderToShoulder',
'naturalWaist',
'shoulderToWrist',
'wristCircumference'
2019-02-17 17:21:39 +01:00
],
dependencies: {
backBlock: 'base',
frontBlock: 'backBlock',
front: 'frontBlock',
back: 'backBlock',
frontFacing: 'front',
frontLining: 'front',
pocketBag: 'front'
2019-02-17 17:21:39 +01:00
},
inject: {
backBlock: 'base',
frontBlock: 'backBlock',
front: 'frontBlock',
back: 'backBlock',
frontFacing: 'front',
frontLining: 'front'
2019-02-17 17:21:39 +01:00
},
hide: ['base', 'frontBlock', 'backBlock'],
parts: ['pocketWelt', 'pocketFacing', 'pocketInterfacing'],
2019-02-17 17:21:39 +01:00
options: {
// These are needed because Brian expects them
brianFitSleeve: false,
brianFitCollar: false,
collarFactor: 4.8,
backNeckCutout: 0.05,
shoulderSlopeReduction: 0,
collarEase: 0.035,
shoulderEase: 0,
bicepsEase: 0.15,
acrossBackFactor: 0.97,
frontArmholeDeeper: 0.005,
// Wahid options start here
frontOverlap: 0.01,
2019-02-17 20:42:05 +01:00
armholeDepthFactor: {
pct: 70,
min: 60,
max: 80
},
2019-02-17 17:21:39 +01:00
pocketLocation: {
pct: 35,
min: 25,
2019-02-17 20:42:05 +01:00
max: 55
2019-02-17 17:21:39 +01:00
},
pocketWidth: {
2019-02-17 20:42:05 +01:00
pct: 10,
max: 15,
min: 8
2019-02-17 17:21:39 +01:00
},
weltHeight: {
pct: 12.5,
2019-02-17 20:42:05 +01:00
max: 20,
2019-02-17 17:21:39 +01:00
min: 10
},
chestEase: {
pct: 2,
min: 1,
max: 10
},
waistEase: {
pct: 8,
min: 2,
max: 15
},
hipsEase: {
pct: 8,
min: 2,
max: 15
},
lengthBonus: {
pct: 1,
min: 0,
2019-02-17 20:42:05 +01:00
max: 8
2019-02-17 17:21:39 +01:00
},
backScyeDart: {
2019-02-17 20:42:05 +01:00
deg: 2,
2019-02-17 17:21:39 +01:00
min: 0,
max: 6
},
frontScyeDart: {
deg: 6,
min: 0,
max: 12
},
centerBackDart: {
pct: 2,
min: 0,
max: 5
},
necklineDrop: {
2019-02-17 20:42:05 +01:00
pct: 50,
min: 35,
max: 85
2019-02-17 17:21:39 +01:00
},
frontStyle: {
dflt: 'classic',
list: ['classic', 'rounded']
2019-02-17 17:21:39 +01:00
},
hemStyle: {
dflt: 'classic',
list: ['classic', 'rounded']
2019-02-17 17:21:39 +01:00
},
hemRadius: {
pct: 6,
min: 0,
2019-02-17 20:42:05 +01:00
max: 12
2019-02-17 17:21:39 +01:00
},
buttons: {
count: 6,
min: 4,
max: 12
},
backInset: {
2019-02-17 20:42:05 +01:00
pct: 15,
min: 10,
max: 20
2019-02-17 17:21:39 +01:00
},
frontInset: {
pct: 15,
2019-02-17 20:42:05 +01:00
min: 10,
max: 20
2019-02-17 17:21:39 +01:00
},
shoulderInset: {
2019-02-17 20:42:05 +01:00
pct: 10,
2019-02-17 17:21:39 +01:00
min: 0,
2019-02-17 20:42:05 +01:00
max: 20
2019-02-17 17:21:39 +01:00
},
neckInset: {
pct: 5,
min: 0,
2019-02-17 20:42:05 +01:00
max: 10
2019-02-17 17:21:39 +01:00
},
pocketAngle: {
deg: 5,
min: 0,
max: 5
}
}
}