935 B
935 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.