2019-07-08 15:54:19 +02:00
|
|
|
export default function(part) {
|
2019-08-03 15:03:33 +02:00
|
|
|
let { complete, macro, points, paths, sa } = part.shorthand()
|
2019-07-08 15:54:19 +02:00
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
paths.seam.render = true
|
2019-07-08 15:54:19 +02:00
|
|
|
|
|
|
|
if (complete) {
|
2019-08-03 15:03:33 +02:00
|
|
|
if (sa) paths.sa.render = true
|
|
|
|
macro('title', {
|
2019-07-08 15:54:19 +02:00
|
|
|
at: points.titleAnchor,
|
|
|
|
nr: 1,
|
2019-08-03 15:03:33 +02:00
|
|
|
title: 'bowTie',
|
2019-07-08 15:54:19 +02:00
|
|
|
scale: 0.8
|
2019-08-03 15:03:33 +02:00
|
|
|
})
|
|
|
|
points.scaleboxAnchor = points.bandTopLeft.shift(30, 80)
|
|
|
|
macro('scalebox', { at: points.scaleboxAnchor })
|
2019-07-08 15:54:19 +02:00
|
|
|
}
|
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
return part
|
2019-07-08 15:54:19 +02:00
|
|
|
}
|