fix(yuri): SA on hoodcenter. See #1464
This commit is contained in:
parent
b848e6e6ad
commit
52bbd6d7b5
1 changed files with 11 additions and 3 deletions
|
@ -42,9 +42,17 @@ export default function (part) {
|
|||
|
||||
// Complete pattern?
|
||||
if (complete) {
|
||||
if (sa) {
|
||||
paths.sa = paths.seam.offset(sa).attr('class', 'fabric sa')
|
||||
}
|
||||
if (sa) paths.sa = new Path()
|
||||
.move(points.topLeft.shift(180, sa))
|
||||
.line(points.bottomLeft.shift(180, sa))
|
||||
.line(points.bottomLeft.shift(-90, sa))
|
||||
.line(points.bottomRight.shift(-90, sa))
|
||||
.line(points.bottomRight.shift(0, sa))
|
||||
.line(points.topRight.shift(0, sa))
|
||||
.line(points.topRight.shift(90, sa))
|
||||
.line(points.topLeft.shift(90, sa))
|
||||
.close()
|
||||
.attr('class', 'fabric sa')
|
||||
points.title = points.bottomLeft.shiftFractionTowards(points.topRight, 0.5)
|
||||
macro('title', { at: points.title, nr: 6, title: 'hoodCenter' })
|
||||
macro('grainline', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue