1
0
Fork 0
freesewing/designs/tristan/src/backinside.mjs

24 lines
742 B
JavaScript
Raw Normal View History

2023-10-19 15:24:06 +00:00
import { backPoints } from './backpoints.mjs'
export const backInside = {
2023-10-22 18:58:54 +00:00
name: 'tristan.backInside',
2023-10-19 15:24:06 +00:00
from: backPoints,
draft: ({ sa, Point, points, Path, paths, Snippet, snippets, options, macro, part }) => {
2023-10-22 18:58:54 +00:00
paths.cut = new Path()
.move(points.strapInside)
.curve(points.strapInsideCp, points.cbCutCp, points.cbCut)
paths.insideSeam = new Path()
.move(points.strapInside)
.join(paths.cut)
.curve_(points.cbCutCp2, points.waistCenter)
.line(points.dartBottomLeft)
.curve(points.dartLeftCp, points.shoulderDartCpDown, points.dartTip)
.curve(points.shoulderDartCpUp, points.shoulderDart, points.shoulderDart)
.close()
.attr('class', 'fabric')
2023-10-19 15:24:06 +00:00
return part
},
}