feat(sven): Port brian's s3 options
This commit is contained in:
parent
bc0d06b2ec
commit
ebca2e32f3
2 changed files with 10 additions and 5 deletions
|
@ -18,7 +18,7 @@ export default {
|
||||||
'lengthBonus',
|
'lengthBonus',
|
||||||
'sleeveLengthBonus',
|
'sleeveLengthBonus',
|
||||||
],
|
],
|
||||||
style: ['ribbing', 'ribbingHeight'],
|
style: ['ribbing', 'ribbingHeight', 's3Collar', 's3Armhole' ],
|
||||||
advanced: [
|
advanced: [
|
||||||
'acrossBackFactor',
|
'acrossBackFactor',
|
||||||
'armholeDepthFactor',
|
'armholeDepthFactor',
|
||||||
|
@ -110,6 +110,10 @@ export default {
|
||||||
|
|
||||||
shoulderEase: { pct: 0, min: -2, max: 6 },
|
shoulderEase: { pct: 0, min: -2, max: 6 },
|
||||||
|
|
||||||
|
// s3 is short for Shoulder Seam Shift
|
||||||
|
s3Collar: { pct: 0, min: -100, max: 100 },
|
||||||
|
s3Armhole: { pct: 0, min: -100, max: 100 },
|
||||||
|
|
||||||
sleevecapEase: { pct: 0, min: 0, max: 10 },
|
sleevecapEase: { pct: 0, min: 0, max: 10 },
|
||||||
sleevecapTopFactorX: { pct: 50, min: 25, max: 75 },
|
sleevecapTopFactorX: { pct: 50, min: 25, max: 75 },
|
||||||
sleevecapTopFactorY: { pct: 100, min: 35, max: 165 },
|
sleevecapTopFactorY: { pct: 100, min: 35, max: 165 },
|
||||||
|
|
|
@ -35,10 +35,11 @@ export default (part) => {
|
||||||
.curve_(points.hipsCp2, points.armhole)
|
.curve_(points.hipsCp2, points.armhole)
|
||||||
.curve(points.armholeCp2, points.armholeHollowCp1, points.armholeHollow)
|
.curve(points.armholeCp2, points.armholeHollowCp1, points.armholeHollow)
|
||||||
.curve(points.armholeHollowCp2, points.armholePitchCp1, points.armholePitch)
|
.curve(points.armholeHollowCp2, points.armholePitchCp1, points.armholePitch)
|
||||||
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
if (front) paths.saBase = paths.saBase.join(paths.frontArmhole)
|
||||||
.line(points.neck)
|
else paths.saBase = paths.saBase.join(paths.backArmhole)
|
||||||
if (front) paths.saBase.curve(points.neckCp2Front, points.cfNeckCp1, points.cfNeck)
|
paths.saBase.line(points.s3CollarSplit)
|
||||||
else paths.saBase.curve_(points.neckCp2, points.cbNeck)
|
if (front) paths.saBase = paths.saBase.join(paths.frontCollar)
|
||||||
|
else paths.saBase = paths.saBase.join(paths.backCollar)
|
||||||
if (front) paths.hemBase = new Path().move(points.cfHem).line(points.hem)
|
if (front) paths.hemBase = new Path().move(points.cfHem).line(points.hem)
|
||||||
else paths.hemBase = new Path().move(points.cbHem).line(points.hem)
|
else paths.hemBase = new Path().move(points.cbHem).line(points.hem)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue