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

53 lines
1.3 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
2019-07-16 16:17:47 +02:00
export default {
name: 'theo',
2019-07-16 16:17:47 +02:00
version,
design: 'Joost De Cock',
code: 'Joost De Cock',
department: 'menswear',
type: 'pattern',
2019-07-16 16:17:47 +02:00
difficulty: 4,
tags: ['trousers', 'bottom'],
2019-07-16 16:17:47 +02:00
optionGroups: {
fit: ['backRise', 'wedge'],
style: ['waistbandWidth', 'lengthBonus', 'legWidth']
2019-07-16 16:17:47 +02:00
},
measurements: [
'crotchDepth',
'hipsCircumference',
'inseam',
'kneeCircumference',
'seatCircumference',
'waistToHips'
2019-07-16 16:17:47 +02:00
],
dependencies: {},
inject: {
front: 'back',
waistbandLeft: 'waistbandInterfacingLeft',
waistbandRight: 'waistbandInterfacingRight',
waistbandLiningLeft: 'waistbandInterfacingLeft',
waistbandLiningRight: 'waistbandInterfacingRight',
flyPiece: 'front',
flyShield: 'flyPiece',
sidePiece: 'front',
frontPocketBag: 'front',
backOuterPocketBag: 'backInnerPocketBag',
backPocketInterfacing: 'backPocketFacing'
2019-07-16 16:17:47 +02:00
},
hide: [],
parts: ['waistbandInterfacingLeft', 'waistbandInterfacingRight', 'backPocketFacing', 'beltLoop'],
2019-07-16 16:17:47 +02:00
options: {
// Constants
// Millimeter
waistbandWidth: { mm: 40, min: 5, max: 80 },
// Percentages
legWidth: { pct: 10, min: 0, max: 30 },
backRise: { pct: 3.5, min: 0.5, max: 8 },
lengthBonus: { pct: 0, min: -10, max: 10 },
wedge: { pct: 0, min: -3, max: 3 }
}
}