1
0
Fork 0
freesewing/packages/legend/src/grainline.js

16 lines
281 B
JavaScript
Raw Normal View History

import { box, drawLine } from './shared'
export default (part) => {
const { points, Point, macro } = part.shorthand()
points.a = new Point(10, 20)
points.b = new Point(90, 20)
macro('grainline', {
from: points.a,
to: points.b
})
return box(part, 100, 25)
}