1
0
Fork 0

construction: Ported to v0.29

This commit is contained in:
Joost De Cock 2019-01-27 12:54:18 +01:00
parent dee09139bf
commit 3f65251532
108 changed files with 1962 additions and 1940 deletions

View file

@ -0,0 +1,17 @@
export default part => {
let { Point, points, Snippet, snippets, macro } = part.shorthand();
points.from = new Point(10, 10);
points.to = new Point(90, 40);
macro("vd", {
from: points.to,
to: points.from,
x: 50
});
snippets.notch1 = new Snippet("x", points.from);
snippets.notch2 = new Snippet("x", points.to);
return part;
};