2021-01-30 16:30:45 +01:00
|
|
|
import { version } from '../package.json'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'charlie',
|
|
|
|
version,
|
|
|
|
design: 'Joost De Cock',
|
|
|
|
code: 'Joost De Cock',
|
|
|
|
department: 'unisex',
|
|
|
|
type: 'block',
|
|
|
|
difficulty: 2,
|
|
|
|
tags: ['bottom', 'basics'],
|
|
|
|
optionGroups: {
|
|
|
|
fit: ['seatEase', 'kneeEase', 'waistEase'],
|
2021-03-09 19:21:50 +01:00
|
|
|
style: ['waistHeight', 'lengthBonus', 'crotchDrop'],
|
2021-01-30 18:16:16 +01:00
|
|
|
pockets: [
|
2021-03-09 19:21:50 +01:00
|
|
|
{
|
|
|
|
backPockets: [
|
|
|
|
'backPocketHorizontalPlacement',
|
|
|
|
'backPocketVerticalPlacement',
|
|
|
|
'backPocketWidth',
|
|
|
|
'backPocketDepth'
|
|
|
|
],
|
2021-03-13 09:58:17 +01:00
|
|
|
frontPockets: [
|
|
|
|
'frontPocketSlantDepth',
|
|
|
|
'frontPocketSlantWidth',
|
|
|
|
'frontPocketOpening',
|
|
|
|
'frontPocketEntry',
|
|
|
|
'frontPocketWidth',
|
|
|
|
'frontPocketDepth'
|
|
|
|
]
|
2021-03-09 19:21:50 +01:00
|
|
|
}
|
2021-01-30 18:16:16 +01:00
|
|
|
],
|
2021-03-13 09:58:17 +01:00
|
|
|
waistband: ['splitWaistband', 'waistbandWidth'],
|
2021-01-30 16:30:45 +01:00
|
|
|
advanced: [
|
|
|
|
'crossSeamCurveStart',
|
|
|
|
'crossSeamCurveBend',
|
|
|
|
'crotchSeamCurveStart',
|
|
|
|
'crotchSeamCurveBend',
|
|
|
|
'grainlinePosition',
|
|
|
|
'legBalance',
|
2021-03-09 19:21:50 +01:00
|
|
|
'waistBalance',
|
|
|
|
{
|
|
|
|
fly: ['flyCurve', 'flyLength', 'flyWidth']
|
|
|
|
}
|
2021-01-30 16:30:45 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
measurements: [
|
|
|
|
'crossSeam',
|
|
|
|
'crossSeamFront',
|
|
|
|
'knee',
|
|
|
|
'seat',
|
|
|
|
'seatBack',
|
|
|
|
'waist',
|
|
|
|
'waistBack',
|
|
|
|
'waistToFloor',
|
|
|
|
'waistToKnee',
|
|
|
|
'waistToHips',
|
|
|
|
'waistToSeat',
|
|
|
|
'waistToUpperLeg'
|
|
|
|
],
|
|
|
|
hide: ['titanBack', 'titanFront'],
|
|
|
|
inject: {
|
|
|
|
back: 'titanBack',
|
2021-03-13 09:58:17 +01:00
|
|
|
front: 'titanFront',
|
|
|
|
frontPocket: 'front'
|
|
|
|
},
|
|
|
|
parts: ['backPocket', 'backPocketFacing'],
|
|
|
|
dependencies: {
|
|
|
|
// The inheritance makes this a bit messy
|
|
|
|
back: ['titanBack', 'titanFront', 'front'],
|
|
|
|
waistband: ['titanBack', 'titanFront', 'front', 'back'],
|
|
|
|
waistbandButtonSide: 'waistband',
|
|
|
|
waistbandButtonholeSide: 'waistband'
|
2021-01-30 16:30:45 +01:00
|
|
|
},
|
|
|
|
options: {
|
|
|
|
// Constants (from Titan)
|
|
|
|
titanPaperless: true,
|
|
|
|
fitCrossSeam: true,
|
|
|
|
fitCrossSeamFront: true,
|
|
|
|
fitCrossSeamBack: true,
|
|
|
|
|
2021-03-09 19:21:50 +01:00
|
|
|
// Lock titan options
|
|
|
|
fitKnee: false,
|
|
|
|
|
|
|
|
// Charlie constants
|
|
|
|
waistbandReduction: 0.3, // See src/index.js
|
2021-03-13 09:58:17 +01:00
|
|
|
waistbandFactor: 0.1,
|
2021-03-09 19:21:50 +01:00
|
|
|
|
2021-01-30 16:30:45 +01:00
|
|
|
// Fit (from Titan)
|
|
|
|
waistEase: { pct: 3, min: 0, max: 10 },
|
|
|
|
seatEase: { pct: 3, min: 0, max: 10 },
|
|
|
|
kneeEase: { pct: 15, min: 1, max: 25 },
|
|
|
|
|
|
|
|
// Style (from Titan)
|
2021-03-09 19:21:50 +01:00
|
|
|
waistHeight: { pct: 0, min: 0, max: 25 },
|
2021-01-30 16:30:45 +01:00
|
|
|
lengthBonus: { pct: 2, min: -20, max: 10 },
|
|
|
|
crotchDrop: { pct: 2, min: 0, max: 15 },
|
|
|
|
|
|
|
|
// Advanced (from Titan)
|
|
|
|
legBalance: { pct: 57.5, min: 52.5, max: 62.5 },
|
|
|
|
crossSeamCurveStart: { pct: 85, min: 60, max: 100 },
|
|
|
|
crossSeamCurveBend: { pct: 65, min: 45, max: 85 },
|
|
|
|
crotchSeamCurveStart: { pct: 80, min: 60, max: 95 },
|
|
|
|
crotchSeamCurveBend: { pct: 80, min: 45, max: 100 },
|
|
|
|
waistBalance: { pct: 60, min: 30, max: 90 },
|
2021-01-30 18:16:16 +01:00
|
|
|
grainlinePosition: { pct: 45, min: 30, max: 60 },
|
|
|
|
|
2021-03-09 19:21:50 +01:00
|
|
|
// Back pockets
|
2021-01-30 18:16:16 +01:00
|
|
|
backPocketVerticalPlacement: { pct: 24, min: 18, max: 30 },
|
|
|
|
backPocketHorizontalPlacement: { pct: 55, min: 48, max: 62 },
|
2021-03-10 20:27:50 +01:00
|
|
|
backPocketWidth: { pct: 55, min: 50, max: 60 },
|
2021-03-13 09:58:17 +01:00
|
|
|
backPocketDepth: { pct: 60, min: 40, max: 80 },
|
|
|
|
backPocketFacing: { bool: true },
|
2021-01-30 18:16:16 +01:00
|
|
|
|
2021-03-13 09:58:17 +01:00
|
|
|
// Front pockets
|
2021-03-09 19:21:50 +01:00
|
|
|
frontPocketSlantDepth: { pct: 75, min: 50, max: 100 },
|
|
|
|
frontPocketSlantWidth: { pct: 20, min: 10, max: 30 },
|
2021-03-13 09:58:17 +01:00
|
|
|
frontPocketOpening: { pct: 80, min: 60, max: 90 },
|
|
|
|
frontPocketEntry: { pct: 20, min: 10, max: 30 },
|
|
|
|
frontPocketWidth: { pct: 55, min: 45, max: 65 },
|
|
|
|
frontPocketDepth: { pct: 100, min: 85, max: 110 },
|
2021-03-09 19:21:50 +01:00
|
|
|
|
2021-01-30 18:16:16 +01:00
|
|
|
// Belt
|
|
|
|
waistbandWidth: { mm: 25, min: 5, max: 45 },
|
2021-03-09 19:21:50 +01:00
|
|
|
|
2021-03-13 09:58:17 +01:00
|
|
|
// Fly
|
2021-03-09 19:21:50 +01:00
|
|
|
flyCurve: { pct: 66, min: 50, max: 100 },
|
|
|
|
flyLength: { pct: 35, min: 0, max: 70 },
|
2021-03-13 09:58:17 +01:00
|
|
|
flyWidth: { pct: 15, min: 10, max: 20 },
|
2021-03-09 19:21:50 +01:00
|
|
|
|
2021-03-13 09:58:17 +01:00
|
|
|
// Waistband
|
|
|
|
splitWaistband: { bool: true },
|
|
|
|
waistbandWidth: { pct: 50, min: 25, max: 75 }
|
2021-01-30 16:30:45 +01:00
|
|
|
}
|
|
|
|
}
|