1 KiB
1 KiB
title |
---|
plugin-scalebox |
Published as @freesewing/plugin-scalebox, this plugin provides the scalebox and miniscale macros which add a (mini) scalebox to your design, so users can verify that the pattern is printed at the correct scale.
Installation
npm install @freesewing/plugin-scalebox
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 { scaleboxPlugin } from '@freesewing/plugin-scalebox'
// or
import { pluginScalebox } from '@freesewing/plugin-scalebox'
Notes
This plugin by default includes FreeSewing branding, but you can
override that when calling the scalebox
macro in case you want to
generate your own branded designs.
The scalebox plugin is part of our plugin-bundle