1
0
Fork 0

Make macros upToDate with documentation

This commit is contained in:
Wouter van Wageningen 2023-05-07 19:30:54 +00:00
parent 51b68a14cf
commit e95d2f0353
3 changed files with 8 additions and 8 deletions

View file

@ -30,8 +30,8 @@ export const pleatMacros = {
...so,
}
if (complete) {
points[so.prefix + 'From'] = so.from
points[so.prefix + 'To'] = so.to
points[so.prefix + 'From'] = so.from.copy()
points[so.prefix + 'To'] = so.to.copy()
points[so.prefix + 'FromIn'] = points[so.prefix + 'From'].shift(
so.from.shiftTowards(so.to, 0.1).angle(so.from) + 270,
so.margin * scale