1
0
Fork 0
freesewing/markdown/dev/reference/api/macros/round/en.md
2021-12-27 17:33:49 +01:00

1.2 KiB

title
round

The round macro rounds a corner. It is provided by the round plugin.

Note that this is only intended for 90 degree corners.

macro('round', {
  from: points.bottomRight,
  to: points.topLeft,
  via: points.topRight,
  radius: 20,
  prefix: 'tr',
  render: true
})
Property Default Type Description
from Point The startpoint towards the corner to round
to Point The endpoint away from the corner to round
via Point The corner to round
radius Maximum Number The radius in mm in not the maximum
prefix String A prefix to give to the points and paths created by this macro
render false Boolean Whether to render the path created by this macro
class String Class(es) to assign to the path created by this macro