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: {
|
||||
fit: ['seatEase', 'waistEase', 'heelEase'],
|
||||
style: ['waistHeight', 'lengthBonus', 'crotchDrop', 'elasticatedHem'],
|
||||
elastic: ['waistElastic', 'ankleElastic'],
|
||||
elastic: ['waistbandWidth', 'ankleElastic'],
|
||||
pockets: ['frontPockets', 'backPockets'],
|
||||
advanced: [
|
||||
'crossSeamCurveStart',
|
||||
|
@ -96,7 +96,7 @@ export default {
|
|||
elasticatedHem: { bool: true },
|
||||
|
||||
// Elastic
|
||||
waistElastic: { mm: 35, min: 10, max: 60 },
|
||||
waistbandWidth: { mm: 35, min: 10, max: 60 },
|
||||
ankleElastic: { mm: 70, min: 10, max: 130 },
|
||||
heelEase: { pct: 5, min: 0, max: 50 },
|
||||
|
||||
|
|
|
@ -78,10 +78,10 @@ export default function (part) {
|
|||
points.seatOut = points.seatOut.shift(angle, delta)
|
||||
|
||||
// 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.crossSeamCurveStart,
|
||||
options.waistElastic
|
||||
options.waistbandWidth
|
||||
)
|
||||
|
||||
// Add the (optional) front pocket extention
|
||||
|
|
|
@ -90,10 +90,10 @@ export default function (part) {
|
|||
points.seatOut = points.seatOut.shift(angle, delta)
|
||||
|
||||
// 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.crotchSeamCurveStart,
|
||||
options.waistElastic
|
||||
options.waistbandWidth
|
||||
)
|
||||
|
||||
// Our style changes will have influenced the inseam & outseam a bit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue