2022-09-10 20:35:46 +02:00
|
|
|
export function frontWithPrimaryAt1100(part) {
|
2020-01-15 17:39:27 +01:00
|
|
|
let { points, Path, store } = part.shorthand()
|
2020-01-12 17:56:32 +01:00
|
|
|
|
|
|
|
switch (store.get('secondaryBustDartLocation')) {
|
|
|
|
case 1130:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.line(points.armhole)
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.line(points.hps)
|
|
|
|
.noop('secondary')
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
|
|
|
case 1200:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.line(points.armhole)
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.line(points.secondaryBustDart1)
|
|
|
|
.noop('secondary')
|
|
|
|
.line(points.hps)
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
|
|
|
case 1230:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.line(points.armhole)
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.noop('secondary')
|
|
|
|
.line(points.hps)
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
|
|
|
case 1300:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.line(points.armhole)
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.noop('secondary')
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.line(points.hps)
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
|
|
|
case 1330:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.line(points.armhole)
|
|
|
|
.noop('secondary')
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.line(points.hps)
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
|
|
|
case 1400:
|
|
|
|
case 1500:
|
|
|
|
case 1600:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.line(points.secondaryBustDart1)
|
|
|
|
.noop('secondary')
|
|
|
|
.line(points.armhole)
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.line(points.hps)
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
|
|
|
case 1700:
|
2020-01-15 17:39:27 +01:00
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
.move(points.primaryBustDart1)
|
|
|
|
.noop('primary')
|
|
|
|
.line(points.cfWaist)
|
2020-01-16 13:57:07 +01:00
|
|
|
.line(points.waist)
|
2020-01-12 17:56:32 +01:00
|
|
|
.noop('secondary')
|
|
|
|
.line(points.armhole)
|
|
|
|
.curve(points.armholeCp2, points.armholePitchCp1, points.armholePitch)
|
|
|
|
.curve(points.armholePitchCp2, points.shoulderCp1, points.shoulder)
|
|
|
|
.line(points.hps)
|
|
|
|
.curve_(points.hpsCp2, points.primaryBustDart1)
|
|
|
|
break
|
2020-01-15 17:39:27 +01:00
|
|
|
default:
|
|
|
|
return new Path()
|
2020-01-12 17:56:32 +01:00
|
|
|
}
|
|
|
|
}
|