chore(paco): Switched to waistbandWidth option
This commit is contained in:
parent
5b77de0acd
commit
081f7e6301
3 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ export default {
|
||||||
optionGroups: {
|
optionGroups: {
|
||||||
fit: ['seatEase', 'waistEase', 'heelEase'],
|
fit: ['seatEase', 'waistEase', 'heelEase'],
|
||||||
style: ['waistHeight', 'lengthBonus', 'crotchDrop', 'elasticatedHem'],
|
style: ['waistHeight', 'lengthBonus', 'crotchDrop', 'elasticatedHem'],
|
||||||
elastic: ['waistElastic', 'ankleElastic'],
|
elastic: ['waistbandWidth', 'ankleElastic'],
|
||||||
pockets: ['frontPockets', 'backPockets'],
|
pockets: ['frontPockets', 'backPockets'],
|
||||||
advanced: [
|
advanced: [
|
||||||
'crossSeamCurveStart',
|
'crossSeamCurveStart',
|
||||||
|
@ -96,7 +96,7 @@ export default {
|
||||||
elasticatedHem: { bool: true },
|
elasticatedHem: { bool: true },
|
||||||
|
|
||||||
// Elastic
|
// Elastic
|
||||||
waistElastic: { mm: 35, min: 10, max: 60 },
|
waistbandWidth: { mm: 35, min: 10, max: 60 },
|
||||||
ankleElastic: { mm: 70, min: 10, max: 130 },
|
ankleElastic: { mm: 70, min: 10, max: 130 },
|
||||||
heelEase: { pct: 5, min: 0, max: 50 },
|
heelEase: { pct: 5, min: 0, max: 50 },
|
||||||
|
|
||||||
|
|
|
@ -78,10 +78,10 @@ export default function (part) {
|
||||||
points.seatOut = points.seatOut.shift(angle, delta)
|
points.seatOut = points.seatOut.shift(angle, delta)
|
||||||
|
|
||||||
// Cut the top of our pants short to make room for the waistband/elastic
|
// Cut the top of our pants short to make room for the waistband/elastic
|
||||||
points.styleWaistOut = drawOutseam(true).reverse().shiftAlong(options.waistElastic)
|
points.styleWaistOut = drawOutseam(true).reverse().shiftAlong(options.waistbandWidth)
|
||||||
points.styleWaistIn = points.styleWaistIn.shiftTowards(
|
points.styleWaistIn = points.styleWaistIn.shiftTowards(
|
||||||
points.crossSeamCurveStart,
|
points.crossSeamCurveStart,
|
||||||
options.waistElastic
|
options.waistbandWidth
|
||||||
)
|
)
|
||||||
|
|
||||||
// Add the (optional) front pocket extention
|
// Add the (optional) front pocket extention
|
||||||
|
|
|
@ -90,10 +90,10 @@ export default function (part) {
|
||||||
points.seatOut = points.seatOut.shift(angle, delta)
|
points.seatOut = points.seatOut.shift(angle, delta)
|
||||||
|
|
||||||
// Cut the top of our pants short to make room for the waistband/elastic
|
// Cut the top of our pants short to make room for the waistband/elastic
|
||||||
points.styleWaistOut = drawOutseam(true).shiftAlong(options.waistElastic)
|
points.styleWaistOut = drawOutseam(true).shiftAlong(options.waistbandWidth)
|
||||||
points.styleWaistIn = points.styleWaistIn.shiftTowards(
|
points.styleWaistIn = points.styleWaistIn.shiftTowards(
|
||||||
points.crotchSeamCurveStart,
|
points.crotchSeamCurveStart,
|
||||||
options.waistElastic
|
options.waistbandWidth
|
||||||
)
|
)
|
||||||
|
|
||||||
// Our style changes will have influenced the inseam & outseam a bit
|
// Our style changes will have influenced the inseam & outseam a bit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue