1
0
Fork 0
freesewing/packages/legend/src/grainline.js
2021-04-24 10:16:31 +02:00

15 lines
272 B
JavaScript

import { box } 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)
}