1
0
Fork 0

construction: Using shorthand and first back outline

This commit is contained in:
joostdecock 2018-07-19 13:14:50 +00:00 committed by Joost De Cock
parent dc8766724e
commit 95ea42916f
10 changed files with 104 additions and 91 deletions

View file

@ -0,0 +1,27 @@
import F from 'freesewing'
import base from './base';
var back =
{
draft: function(part, context, final = true)
{
let { measurements, options, points, paths, snippets } = F.utils.shorthand(part, context);
base.draft(part, context);
paths.seam = new F.path()
.move(points.cbNeck)
.line(points.cbHips)
.line(points.hips)
.line(points.armhole)
.curve(points.armholeCp1, points.armholeCp2, points.armholeHollow)
.curve(points.armholeHollowCp1, points.armholeHollowCp2, points.armholePitch)
.curve(points.armholePitchCp1, points.armholePitchCp2, points.shoulder)
.line(points.neck)
.curve(points.neckCp1, points.cbNeck, points.cbNeck)
.close()
;
}
}
export default back;