bug: Fixed undercollar SA
This commit is contained in:
parent
99c7e26651
commit
1e9c7b36c0
1 changed files with 24 additions and 1 deletions
|
@ -33,7 +33,30 @@ export default function(part) {
|
|||
title: "underCollar"
|
||||
});
|
||||
|
||||
if (sa) paths.sa = paths.seam.offset(sa).attr("class", "various sa");
|
||||
if (sa) {
|
||||
paths.sa1 = new Path()
|
||||
.move(points.collarstandCbTop)
|
||||
.line(points.collarCbTop)
|
||||
.offset(sa);
|
||||
paths.sa2 = new Path()
|
||||
.move(points.collarstandTip)
|
||||
.line(points.notch)
|
||||
.line(points.notchTip)
|
||||
.offset(-1 * sa);
|
||||
paths.sa = new Path()
|
||||
.move(points.collarstandTip)
|
||||
.line(paths.sa2.start())
|
||||
.join(paths.sa2)
|
||||
.line(points.notchTip)
|
||||
.move(points.collarstandCbTop)
|
||||
.line(paths.sa1.start())
|
||||
.line(paths.sa1.end())
|
||||
.line(points.collarCbTop)
|
||||
.attr("class", "various sa");
|
||||
paths.sa1.render = false;
|
||||
paths.sa2.render = false;
|
||||
}
|
||||
}
|
||||
|
||||
return part;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue