2021-10-17 18:26:00 +02:00
|
|
|
---
|
2022-10-02 18:07:36 +02:00
|
|
|
title: plugin-scalebox
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
Published as [@freesewing/plugin-scalebox][1], this plugin provides the
|
2022-10-12 19:09:04 +02:00
|
|
|
[scalebox](/reference/macros/scalebox) and
|
|
|
|
[miniscale](/reference/macros/miniscale) macros which add a (mini) scalebox
|
2022-10-02 00:27:09 +02:00
|
|
|
to your design, so users can verify that the pattern is printed at the correct
|
|
|
|
scale.
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
```sh
|
2021-08-25 16:09:31 +02:00
|
|
|
npm install @freesewing/plugin-scalebox
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
Either [add it as a part plugins](/reference/api/part/config/plugins) in your
|
|
|
|
design, or [add it to a pattern instance with
|
|
|
|
Pattern.use()](/reference/api/pattern/use).
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
## Notes
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
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](/reference/plugins/bundle)
|
|
|
|
|
|
|
|
[1]: https://www.npmjs.com/package/@freesewing/plugin-scalebox
|
2021-08-25 16:09:31 +02:00
|
|
|
|