1
0
Fork 0

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.
This commit is contained in:
Joost De Cock 2021-03-14 11:32:43 +01:00
parent e2897030fb
commit 6acdae9de2
4 changed files with 24 additions and 10 deletions

View file

@ -1,5 +1,17 @@
2.14.1: 2.15.0:
date: date: unreleased
Added:
charlie:
- Inital release of the Charlie Chinos pattern
titan:
- Added the crossSeamCurveAngle option
- Added the crotchSeamCurveAngle option
Changed:
titan:
- Crotch- and Cross seam have been redrawn using the new angle options
Fixed: Fixed:
titan: titan:
- Adapt seat control point when waist is dropped below the hip line - Adapt seat control point when waist is dropped below the hip line

View file

@ -17,6 +17,7 @@ export default {
'crossSeamCurveBend', 'crossSeamCurveBend',
'crotchSeamCurveStart', 'crotchSeamCurveStart',
'crotchSeamCurveBend', 'crotchSeamCurveBend',
'crotchSeamCurveAngle',
'grainlinePosition', 'grainlinePosition',
'legBalance', 'legBalance',
'waistBalance' 'waistBalance'
@ -59,8 +60,10 @@ export default {
legBalance: { pct: 57.5, min: 52.5, max: 62.5 }, legBalance: { pct: 57.5, min: 52.5, max: 62.5 },
crossSeamCurveStart: { pct: 85, min: 60, max: 100 }, crossSeamCurveStart: { pct: 85, min: 60, max: 100 },
crossSeamCurveBend: { pct: 65, min: 45, max: 85 }, crossSeamCurveBend: { pct: 65, min: 45, max: 85 },
crossSeamCurveAngle: { deg: 12, min: 0, max: 20 },
crotchSeamCurveStart: { pct: 80, min: 60, max: 95 }, crotchSeamCurveStart: { pct: 80, min: 60, max: 95 },
crotchSeamCurveBend: { pct: 80, min: 45, max: 100 }, crotchSeamCurveBend: { pct: 80, min: 45, max: 100 },
crotchSeamCurveAngle: { deg: 25, min: 0, max: 35 },
waistBalance: { pct: 60, min: 30, max: 90 }, waistBalance: { pct: 60, min: 30, max: 90 },
grainlinePosition: { pct: 45, min: 30, max: 60 } grainlinePosition: { pct: 45, min: 30, max: 60 }
} }

View file

@ -76,10 +76,9 @@ export default (part) => {
points.crossSeamCurveMax, points.crossSeamCurveMax,
options.crossSeamCurveBend options.crossSeamCurveBend
) )
points.crossSeamCurveCp2 = points.fork.shiftFractionTowards( points.crossSeamCurveCp2 = points.fork
points.crossSeamCurveMax, .shiftFractionTowards(points.crossSeamCurveMax, options.crossSeamCurveBend)
options.crossSeamCurveBend .rotate(options.crossSeamCurveAngle, points.fork)
)
} }
// Shorthand // Shorthand

View file

@ -74,10 +74,10 @@ export default (part) => {
points.fork, points.fork,
points.fork.shift(0, 666) points.fork.shift(0, 666)
) )
points.crotchSeamCurveCp1 = points.fork.shiftFractionTowards( points.crotchSeamCurveCp1 = points.fork
points.crotchSeamCurveMax, .shiftFractionTowards(points.crotchSeamCurveMax, options.crotchSeamCurveBend)
options.crotchSeamCurveBend .rotate(options.crotchSeamCurveAngle * -1, points.fork)
) console.log(points.crotchSeamCurveCp1)
points.crotchSeamCurveCp2 = points.crotchSeamCurveStart.shiftFractionTowards( points.crotchSeamCurveCp2 = points.crotchSeamCurveStart.shiftFractionTowards(
points.crotchSeamCurveMax, points.crotchSeamCurveMax,
options.crotchSeamCurveBend options.crotchSeamCurveBend