25 lines
773 B
JavaScript
25 lines
773 B
JavaScript
![]() |
/*
|
||
|
* FIXME
|
||
|
*
|
||
|
* This collar was ported as-is from the original (PHP) design
|
||
|
* I did a few years ago. I think it would benefit from a redesign
|
||
|
* but I find collar design to be rather tricky business and
|
||
|
* would love the input from someone with more pattern design
|
||
|
* experience, or more tailoring exprience.
|
||
|
*/
|
||
|
|
||
|
export default function(part) {
|
||
|
let { sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||
|
|
||
|
paths.seam = new Path()
|
||
|
.move(points.collarCbTop)
|
||
|
.curve_(points.collarCbTopCp, points.notchTip)
|
||
|
.line(points.notch)
|
||
|
.line(points.collarstandTip)
|
||
|
._curve(points.collarstandCbTopCp, points.collarstandCbTop)
|
||
|
.close()
|
||
|
.attr("class", "fabric");
|
||
|
|
||
|
return part;
|
||
|
}
|