grainline

The grainline macro adds a grainline indicator to your pattern.

It is provided by plugin-annotations, which is part of core-plugins (so it is available by default).

Signature

Javascript
macro('grainline', {
  Point from,
  Point to,
  String text=grainline,
  Boolean force = false,
})

Example

grainline

Configuration

PropertyDefaultTypeDescription
fromPointThe startpoint of the grainline indicator
toPointThe endpoint of the grainline indicator
text’grainline’stringThe text to put on the grainline indicator
forcefalsebooleanSet this to true to display the macro output even when complete is false

Notes

This macro takes the complete setting into account and won’t output anything when both complete and force are false.