2020-12-29 18:33:20 +01:00
|
|
|
import { box } from './shared'
|
|
|
|
|
|
|
|
export default (part) => {
|
2019-08-03 15:03:33 +02:00
|
|
|
let { Point, points, macro } = part.shorthand()
|
2019-01-27 12:54:18 +01:00
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
points.grainlineFrom = new Point(10, 10)
|
|
|
|
points.grainlineTo = new Point(100, 10)
|
2019-01-27 12:54:18 +01:00
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
macro('grainline', {
|
2019-01-27 12:54:18 +01:00
|
|
|
from: points.grainlineFrom,
|
2021-04-24 10:16:31 +02:00
|
|
|
to: points.grainlineTo,
|
2019-08-03 15:03:33 +02:00
|
|
|
})
|
2019-01-27 12:54:18 +01:00
|
|
|
|
2020-12-29 18:33:20 +01:00
|
|
|
return box(part, 110, 15)
|
2019-08-03 15:03:33 +02:00
|
|
|
}
|