bug: Fixed issue with grainline when pocket(flap) isn't rounded
This commit is contained in:
parent
a654ced40e
commit
bb274b6ecb
2 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue