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

937 B

title
@freesewing/plugin-cutonfold

The @freesewing/plugin-cutonfold plugin provides the cutonfold macro which adds a cut-on-fold indicator to your design.

An example of the cutonfold macro

The cutonfold plugin is part of our plugin-bundle

Installation

npm install @freesewing/plugin-cutonfold

Usage

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

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

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

Now you can use the cutonfold macro in your parts.