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

75 lines
1.9 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: 'bottoms',
2020-05-17 18:08:44 +02:00
type: 'block',
difficulty: 2,
2020-05-17 18:08:44 +02:00
optionGroups: {
fit: ['seatEase', 'kneeEase', 'waistEase'],
2020-06-27 16:41:22 +02:00
style: ['waistHeight', 'fitKnee', 'lengthBonus', 'crotchDrop'],
2020-05-17 18:08:44 +02:00
advanced: [
'crossSeamCurveStart',
'crossSeamCurveBend',
'crossSeamCurveAngle',
'crotchSeamCurveStart',
'crotchSeamCurveBend',
'crotchSeamCurveAngle',
'grainlinePosition',
2020-05-17 18:08:44 +02:00
'legBalance',
'waistBalance',
2021-04-24 10:16:31 +02:00
'waistbandWidth',
],
2020-05-17 18:08:44 +02:00
},
measurements: [
'crossSeam',
'crossSeamFront',
'knee',
'seat',
'seatBack',
'waist',
'waistBack',
'waistToFloor',
'waistToKnee',
2020-06-27 16:41:22 +02:00
'waistToHips',
'waistToSeat',
2021-04-24 10:16:31 +02:00
'waistToUpperLeg',
2020-05-17 18:08:44 +02:00
],
dependencies: {
2021-04-24 10:16:31 +02:00
front: 'back',
},
2020-05-17 18:08:44 +02:00
options: {
// Constants
titanPaperless: true,
2020-05-17 18:08:44 +02:00
fitCrossSeam: true,
fitCrossSeamFront: true,
fitCrossSeamBack: true,
// Fit
waistEase: { pct: 2, min: 0, max: 10 },
seatEase: { pct: 2, min: 0, max: 10 },
2020-05-17 18:08:44 +02:00
kneeEase: { pct: 6, min: 1, max: 25 },
// Style
2020-06-27 16:41:22 +02:00
waistHeight: { pct: 100, min: 0, max: 100 },
lengthBonus: { pct: 2, min: -20, max: 10 },
crotchDrop: { pct: 2, min: 0, max: 15 },
2020-06-27 16:41:22 +02:00
fitKnee: { bool: false },
// 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 },
crossSeamCurveAngle: { deg: 12, min: 0, max: 20 },
crotchSeamCurveStart: { pct: 80, min: 60, max: 95 },
crotchSeamCurveBend: { pct: 80, min: 45, max: 100 },
crotchSeamCurveAngle: { deg: 25, min: 0, max: 35 },
waistBalance: { pct: 60, min: 30, max: 90 },
grainlinePosition: { pct: 45, min: 30, max: 60 },
2021-04-24 10:16:31 +02:00
waistbandWidth: { mm: 0, min: 0, max: 60 },
},
2020-05-17 18:08:44 +02:00
}