1
0
Fork 0
freesewing/markdown/dev/reference/api/macros/grainline/en.md
2022-07-31 16:11:50 +02:00

1 KiB

title
grainline

The grainline macro adds a grainline indicator to your pattern.
It is provided by the grainline plugin.

Example of the grainline indicator added by this macro
macro("grainline", {
  from: points.grainlineFrom,
  to: points.grainlineTo,
})
Property Default Type Description
from Point The startpoint of the grainline indicator
to Point The endpoint of the grainline indicator
text 'grainline' string The text to put on the grainline indicator

Removing the grainline indicator

If you inherit a part with a grainline indicator and you'd like to remove it, you can do so by passing false to the macro:

macro('grainline', false)