1
0
Fork 0
freesewing/packages/titan/config/index.js
Joost De Cock 6acdae9de2 feat(titan): Redrew the crotch and cross seam with new options
This commit adds the `crossSeamAngle` and `crotchSeamAngle` options
that control how the crotch- and cross seam reach the fork.

You can get the same result as what happened prior to this commit
by setting both options to zero.

However, their defaults are not zero, so this commit changes the
out-of-the-box pattern.
2021-03-14 11:32:43 +01:00

70 lines
1.8 KiB
JavaScript

import { version } from '../package.json'
export default {
name: 'titan',
version,
design: ['Debra Bean', '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',
'crotchSeamCurveAngle',
'grainlinePosition',
'legBalance',
'waistBalance'
]
},
measurements: [
'crossSeam',
'crossSeamFront',
'knee',
'seat',
'seatBack',
'waist',
'waistBack',
'waistToFloor',
'waistToKnee',
'waistToHips',
'waistToSeat',
'waistToUpperLeg'
],
parts: ['back', 'front'],
options: {
// Constants
titanPaperless: true,
fitCrossSeam: true,
fitCrossSeamFront: true,
fitCrossSeamBack: true,
// Fit
waistEase: { pct: 2, min: 0, max: 10 },
seatEase: { pct: 2, min: 0, max: 10 },
kneeEase: { pct: 6, min: 1, max: 25 },
// Style
waistHeight: { pct: 100, min: 0, max: 100 },
lengthBonus: { pct: 2, min: -20, max: 10 },
crotchDrop: { pct: 2, min: 0, max: 15 },
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 }
}
}