1.1 KiB
1.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
The bartack plugin is part of our plugin-bundle
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.