1
0
Fork 0
freesewing/packages/examples/src/point_dx.js

15 lines
233 B
JavaScript
Raw Normal View History

2019-01-27 12:54:18 +01:00
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.from = new Point(10, 10)
points.to = new Point(90, 40)
2019-01-27 12:54:18 +01:00
2019-08-03 15:03:33 +02:00
macro('hd', {
2019-01-27 12:54:18 +01:00
from: points.from,
to: points.to,
y: 25
2019-08-03 15:03:33 +02:00
})
2019-01-27 12:54:18 +01:00
2019-08-03 15:03:33 +02:00
return part
}