Outline progress

This commit is contained in:
Bán Dénes 2020-06-02 22:59:05 +02:00
parent 8e9cdd1364
commit c0a7fb4552
4 changed files with 127 additions and 55 deletions

View file

@ -59,6 +59,11 @@ const Point = exports.Point = class Point {
u.deepcopy(this.meta)
)
}
rect(size=14) {
let rect = u.rect(size, size, [-size/2, -size/2], this.meta.mirrored)
return m.model.moveRelative(m.model.rotate(rect, this.r), this.p)
}
}
const dump = exports.dump = (points, opts={}) => {