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

65 lines
1.6 KiB
JavaScript
Raw Normal View History

2020-05-17 18:08:44 +02:00
import { version } from '../package.json'
export default {
name: 'titan',
version,
design: ['Debra Bean', 'Joost De Cock'],
2020-05-17 18:08:44 +02:00
code: 'Joost De Cock',
department: 'unisex',
type: 'block',
difficulty: 3,
tags: ['bottom', 'basics'],
optionGroups: {
fit: ['seatEase', 'kneeEase', 'waistEase'],
style: ['fitKnee', 'lengthBonus', 'crotchDrop'],
2020-05-17 18:08:44 +02:00
advanced: [
'crossSeamCurveStart',
'crossSeamCurveBend',
'crotchSeamCurveStart',
'crotchSeamCurveBend',
'grainlinePosition',
2020-05-17 18:08:44 +02:00
'legBalance',
'waistBalance'
2020-05-17 18:08:44 +02:00
]
},
measurements: [
'backWaist',
'crossSeam',
'frontCrossSeam',
'backSeat',
'seatCircumference',
'kneeCircumference',
'waistCircumference',
'waistToFloor',
'waistToKnee',
'waistToSeat',
'waistToUpperLeg'
2020-05-17 18:08:44 +02:00
],
parts: ['back', 'front'],
options: {
// Constants
2020-05-17 18:08:44 +02:00
fitCrossSeam: true,
fitFrontCrossSeam: true,
fitBackCrossSeam: true,
// Fit
waistEase: { pct: 2.5, min: 0, max: 10 },
seatEase: { pct: 2.5, min: 0, max: 10 },
2020-05-17 18:08:44 +02:00
kneeEase: { pct: 6, min: 1, max: 25 },
// Style
fitKnee: { bool: false },
lengthBonus: { pct: 0, min: -20, max: 10 },
crotchDrop: { pct: 2, min: 0, max: 15 },
// Advanced
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 }
2020-05-17 18:08:44 +02:00
}
}