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',
|
2021-05-29 14:04:56 +02:00
|
|
|
department: 'bottoms',
|
2021-01-30 16:30:45 +01:00
|
|
|
type: 'block',
|
2021-04-18 12:49:39 +02:00
|
|
|
difficulty: 3,
|
2021-01-30 16:30:45 +01:00
|
|
|
optionGroups: {
|
2021-04-20 23:22:12 +02:00
|
|
|
fit: ['seatEase', 'kneeEase', 'waistEase', 'waistbandCurve'],
|
2021-04-11 17:15:58 +02:00
|
|
|
style: ['waistHeight', 'waistbandWidth', 'lengthBonus', 'crotchDrop'],
|
2021-01-30 18:16:16 +01:00
|
|
|
pockets: [
|
2021-03-09 19:21:50 +01:00
|
|
|
{
|
|
|
|
backPockets: [
|
|
|
|
'backPocketHorizontalPlacement',
|
|
|
|
'backPocketVerticalPlacement',
|
|
|
|
'backPocketWidth',
|
2021-04-24 10:16:31 +02:00
|
|
|
'backPocketDepth',
|
2021-03-09 19:21:50 +01:00
|
|
|
],
|
2021-03-13 09:58:17 +01:00
|
|
|
frontPockets: [
|
|
|
|
'frontPocketSlantDepth',
|
|
|
|
'frontPocketSlantWidth',
|
2021-03-14 18:02:22 +01:00
|
|
|
'frontPocketSlantRound',
|
|
|
|
'frontPocketSlantBend',
|
2021-03-13 09:58:17 +01:00
|
|
|
'frontPocketWidth',
|
2021-04-17 13:08:53 +02:00
|
|
|
'frontPocketDepth',
|
2021-04-24 10:16:31 +02:00
|
|
|
'frontPocketFacing',
|
|
|
|
],
|
|
|
|
},
|
2021-01-30 18:16:16 +01:00
|
|
|
],
|
2021-01-30 16:30:45 +01:00
|
|
|
advanced: [
|
|
|
|
'crossSeamCurveStart',
|
|
|
|
'crossSeamCurveBend',
|
2021-03-14 18:02:22 +01:00
|
|
|
'crossSeamCurveAngle',
|
2021-01-30 16:30:45 +01:00
|
|
|
'crotchSeamCurveStart',
|
|
|
|
'crotchSeamCurveBend',
|
2021-03-14 18:02:22 +01:00
|
|
|
'crotchSeamCurveAngle',
|
2021-01-30 16:30:45 +01:00
|
|
|
'grainlinePosition',
|
|
|
|
'legBalance',
|
2021-03-09 19:21:50 +01:00
|
|
|
'waistBalance',
|
2021-04-11 17:15:58 +02:00
|
|
|
'beltLoops',
|
2021-03-09 19:21:50 +01:00
|
|
|
{
|
2021-04-24 10:16:31 +02:00
|
|
|
fly: ['flyCurve', 'flyLength', 'flyWidth'],
|
|
|
|
},
|
|
|
|
],
|
2021-01-30 16:30:45 +01:00
|
|
|
},
|
|
|
|
measurements: [
|
|
|
|
'crossSeam',
|
|
|
|
'crossSeamFront',
|
|
|
|
'knee',
|
|
|
|
'seat',
|
|
|
|
'seatBack',
|
|
|
|
'waist',
|
|
|
|
'waistBack',
|
|
|
|
'waistToFloor',
|
|
|
|
'waistToKnee',
|
|
|
|
'waistToHips',
|
|
|
|
'waistToSeat',
|
2021-04-24 10:16:31 +02:00
|
|
|
'waistToUpperLeg',
|
2021-01-30 16:30:45 +01:00
|
|
|
],
|
|
|
|
hide: ['titanBack', 'titanFront'],
|
|
|
|
inject: {
|
|
|
|
back: 'titanBack',
|
2021-03-13 09:58:17 +01:00
|
|
|
front: 'titanFront',
|
2021-03-14 18:02:22 +01:00
|
|
|
frontPocket: 'front',
|
|
|
|
frontPocketFacing: 'frontPocket',
|
|
|
|
backPocketFacing: 'backPocket',
|
2021-04-11 17:15:58 +02:00
|
|
|
backPocketInterfacing: 'backPocket',
|
2021-03-14 18:02:22 +01:00
|
|
|
backPocketJet: 'backPocketFacing',
|
|
|
|
flyFacing: 'front',
|
2021-04-24 10:16:31 +02:00
|
|
|
flyExtension: 'flyFacing',
|
2021-03-13 09:58:17 +01:00
|
|
|
},
|
2021-04-11 17:15:58 +02:00
|
|
|
parts: ['beltLoops'],
|
2021-03-13 09:58:17 +01:00
|
|
|
dependencies: {
|
|
|
|
// The inheritance makes this a bit messy
|
2021-04-11 17:15:58 +02:00
|
|
|
titanFront: 'titanBack',
|
2021-03-13 09:58:17 +01:00
|
|
|
back: ['titanBack', 'titanFront', 'front'],
|
2021-04-20 23:22:12 +02:00
|
|
|
waistband: ['titanBack', 'titanFront', 'front', 'back'],
|
2021-04-24 10:16:31 +02:00
|
|
|
waistbandCurved: ['titanBack', 'titanFront', 'front', 'back'],
|
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
|
2021-03-13 16:40:10 +01:00
|
|
|
fitKnee: true,
|
2021-03-09 19:21:50 +01:00
|
|
|
|
|
|
|
// Charlie constants
|
2021-04-11 17:15:58 +02:00
|
|
|
waistbandReduction: 0.25, // See src/index.js
|
2021-03-13 09:58:17 +01:00
|
|
|
waistbandFactor: 0.1,
|
2021-03-09 19:21:50 +01:00
|
|
|
|
2021-04-20 23:22:12 +02:00
|
|
|
// Fit (Charlie)
|
2021-04-22 19:20:50 +02:00
|
|
|
waistbandCurve: { pct: 0, min: 0, max: 35 },
|
2021-04-20 23:22:12 +02:00
|
|
|
|
2021-01-30 16:30:45 +01:00
|
|
|
// Fit (from Titan)
|
2021-03-30 18:16:28 +02:00
|
|
|
waistEase: { pct: 1, min: 0, max: 5 },
|
|
|
|
seatEase: { pct: 5, min: 0, max: 10 },
|
|
|
|
kneeEase: { pct: 15, min: 10, max: 30 },
|
2021-01-30 16:30:45 +01:00
|
|
|
|
|
|
|
// Style (from Titan)
|
2021-04-11 17:15:58 +02:00
|
|
|
waistHeight: { pct: -4, min: -50, max: 30 },
|
|
|
|
waistbandWidth: { mm: 40, min: 20, max: 60 },
|
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 },
|
2021-03-14 18:02:22 +01:00
|
|
|
crossSeamCurveAngle: { deg: 12, min: 0, max: 20 },
|
2021-01-30 16:30:45 +01:00
|
|
|
crotchSeamCurveStart: { pct: 80, min: 60, max: 95 },
|
|
|
|
crotchSeamCurveBend: { pct: 80, min: 45, max: 100 },
|
2021-03-14 18:02:22 +01:00
|
|
|
crotchSeamCurveAngle: { deg: 25, min: 0, max: 35 },
|
|
|
|
waistBalance: { pct: 55, min: 30, max: 90 },
|
|
|
|
grainlinePosition: { pct: 50, min: 30, max: 60 },
|
2021-01-30 18:16:16 +01:00
|
|
|
|
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-30 18:16:28 +02:00
|
|
|
frontPocketSlantDepth: { pct: 85, min: 70, max: 100 },
|
|
|
|
frontPocketSlantWidth: { pct: 25, min: 15, max: 35 },
|
2021-04-20 19:05:20 +02:00
|
|
|
frontPocketSlantRound: { pct: 30, min: 5, max: 50 },
|
|
|
|
frontPocketSlantBend: { pct: 25, min: 5, max: 50 },
|
2021-03-13 09:58:17 +01:00
|
|
|
frontPocketWidth: { pct: 55, min: 45, max: 65 },
|
|
|
|
frontPocketDepth: { pct: 100, min: 85, max: 110 },
|
2021-04-17 13:08:53 +02:00
|
|
|
frontPocketFacing: { pct: 45, min: 25, max: 65 },
|
2021-03-09 19:21:50 +01:00
|
|
|
|
2021-03-13 09:58:17 +01:00
|
|
|
// Fly
|
2021-03-14 18:02:22 +01:00
|
|
|
flyCurve: { pct: 72, min: 50, max: 100 },
|
2021-03-13 16:37:24 +01:00
|
|
|
flyLength: { pct: 45, min: 30, max: 60 },
|
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
|
2021-04-24 10:16:31 +02:00
|
|
|
beltLoops: { count: 8, min: 6, max: 12 },
|
|
|
|
},
|
2021-01-30 16:30:45 +01:00
|
|
|
}
|