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

1 KiB

title
@freesewing/plugin-bartack

The @freesewing/plugin-bartack plugin provides the bartack macro. This macro allows you to add bartacks — a set of tight zig-zag stitches used to enforce a seam — to your design.

Example

Example of the bartack macro provided by this plugin

Installation

npm install @freesewing/plugin-bartack

Usage

Like all build-time plugins, you load them by passing them to the freesewing.Design super-constructor:

import freesewing from "@freesewing/core";
import bartack from "@freesewing/plugin-bartack";
import config from "../config";

const Pattern = new freesewing.Design(config, bartack);

Now you can use the bartack, bartackAlong, and bartackFractionAlong macros in your parts: