Skip to main content

plugin-mirror

Published as @freesewing/plugin-mirror, this plugin provides the mirror macro which facilitates mirroring a number of points and/or paths around a given mirror line.

Installation

npm install @freesewing/plugin-mirror

Usage

Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().

To import the plugin for use:

import { mirrorPlugin } from '@freesewing/plugin-mirror'
// or
import { pluginMirror } from '@freesewing/plugin-mirror'

Notes

This plugin is part of the core-plugins bundle, so there is no need to install or import it manually unless you wish to forego loading of core plugins yet still want to load this plugin.