1
0
Fork 0
freesewing/designs/legend/src/grainline.mjs

21 lines
421 B
JavaScript
Raw Normal View History

2022-09-05 17:27:48 +02:00
import { box } from './shared.mjs'
import { pluginBundle } from '@freesewing/plugin-bundle'
function legendGrainline({ points, Point, macro, part }) {
points.a = new Point(10, 20)
points.b = new Point(90, 20)
macro('grainline', {
from: points.a,
2021-04-24 10:16:31 +02:00
to: points.b,
})
return box(part, 100, 25)
}
2022-09-05 17:27:48 +02:00
export const grainline = {
name: 'legend.grainline',
plugins: pluginBundle,
draft: legendGrainline,
}