bartackFractionAlong

The bartackFractionAlong macro allows you to add a bartack marker to your sewing pattern. More specifically, a bartack along a fraction of a path.

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

Signature

Javascript
macro('bartackFractionAlong', {
  String id="bartack",
  Number angle=0,
  Number density=3,
  Number end=1,
  Number length=15,
  Path path,
  String prefix='',
  Number start=0,
  String suffix='',
  Number width=3,
  Boolean force = false,
})

Example

Configuration

PropertyDefaultTypeDescription
angle0numberThe angle under which to draw the bartack
density3numberControls how close the stitches are together
end1numberAt which fraction of the path length (from 0 to 1) should the bartack end
length15numberLength of the bartack
pathPathThe path the bartack should follow
prefixstringA prefix to apply to the name of the generated path
start0numberAt which fraction of the path length (from 0 to 1) should the bartack start
suffixstringA suffix to apply to the name of the generated path
width3numberWidth of the bartack
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.