1
0
Fork 0

wrench: Tweaked options based on sample test

This commit is contained in:
Joost De Cock 2019-03-16 15:42:39 +01:00
parent f6905dcb1e
commit adebec8b4b
6 changed files with 38 additions and 31 deletions

View file

@ -74,7 +74,7 @@ export default function(part) {
// Lapel break point and cutaway point
points.lapelBreakPoint = new Point(
points.hemEdge.x,
points.dartTop.y * (1 + options.lapelBreak)
points.dartTop.y * (1 + options.lapelStart)
);
points.cutawayPoint = points.lapelBreakPoint.shift(
-90,
@ -346,6 +346,13 @@ export default function(part) {
.close()
.attr("class", "fabric");
paths.frontPocket = new Path()
.move(points.frontPocketTopEnd)
.line(points.frontPocketTopLeft)
.line(points.frontPocketBottomLeft)
.line(points.frontPocketBottomEnd)
.attr("class", "help");
if (complete) {
if (sa) {