1
0
Fork 0

bug: Fixed issue with grainline when pocket(flap) isn't rounded

This commit is contained in:
Joost De Cock 2019-04-06 12:56:01 +02:00
parent a654ced40e
commit bb274b6ecb
2 changed files with 4 additions and 4 deletions

View file

@ -68,8 +68,8 @@ export default function(part) {
}); });
macro("grainline", { macro("grainline", {
from: points.bottomLeft.shift(0, 10+store.get("pocketRadius")), from: points.bottomLeft.shift(0, 10+ (store.get("pocketRadius") || 0)),
to: points.edgeLeft.shift(0, 10+store.get("pocketRadius")), to: points.edgeLeft.shift(0, 10+ (store.get("pocketRadius") || 0)),
}); });
if (sa) paths.sa = paths.seam.offset(sa).attr("class", "fabric sa"); if (sa) paths.sa = paths.seam.offset(sa).attr("class", "fabric sa");

View file

@ -52,8 +52,8 @@ export default function(part) {
}); });
macro("grainline", { macro("grainline", {
from: points.bottomLeft.shift(0, 10+store.get("pocketRadius")), from: points.bottomLeft.shift(0, 10+ (store.get("pocketRadius") || 0)),
to: points.topLeft.shift(0, 10+store.get("pocketRadius")), to: points.topLeft.shift(0, 10+ (store.get("pocketRadius") || 0)),
}); });
if (sa) paths.sa = paths.seam.offset(sa).attr("class", "lining sa"); if (sa) paths.sa = paths.seam.offset(sa).attr("class", "lining sa");