1
0
Fork 0
freesewing/packages/charlie/config/index.js
2021-01-30 16:30:45 +01:00

71 lines
1.8 KiB
JavaScript

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'],
style: ['waistHeight', 'fitKnee', 'lengthBonus', 'crotchDrop'],
advanced: [
'crossSeamCurveStart',
'crossSeamCurveBend',
'crotchSeamCurveStart',
'crotchSeamCurveBend',
'grainlinePosition',
'legBalance',
'waistBalance'
]
},
measurements: [
'crossSeam',
'crossSeamFront',
'knee',
'seat',
'seatBack',
'waist',
'waistBack',
'waistToFloor',
'waistToKnee',
'waistToHips',
'waistToSeat',
'waistToUpperLeg'
],
hide: ['titanBack', 'titanFront'],
inject: {
back: 'titanBack',
front: 'titanFront',
},
options: {
// Constants (from Titan)
titanPaperless: true,
fitCrossSeam: true,
fitCrossSeamFront: true,
fitCrossSeamBack: true,
// 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)
waistHeight: { pct: 25, min: 5, max: 45 },
lengthBonus: { pct: 2, min: -20, max: 10 },
crotchDrop: { pct: 2, min: 0, max: 15 },
fitKnee: { bool: false },
// 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 },
grainlinePosition: { pct: 45, min: 30, max: 60 }
}
}