
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
24 lines
772 B
Markdown
24 lines
772 B
Markdown
---
|
|
title: miniscale
|
|
---
|
|
|
|
The `miniscale` macro adds a mini *scale box* to your pattern. This box allows
|
|
users to verify their pattern is printed to scale.
|
|
|
|
The `miniscale` macro is provided by the [scalebox plugin](/reference/plugins/scalebox).
|
|
It is the mini version of [the scalebox macro](/reference/macros/scalebox/).
|
|
|
|
<Example part="plugin_scalebox" caption="Example of a scalebox (left) and miniscale (right)" />
|
|
|
|
```js
|
|
macro('miniscale', {
|
|
at: points.anchor
|
|
})
|
|
```
|
|
|
|
| Property | Default | Type | Description |
|
|
|-------------|---------|---------------------|-------------|
|
|
| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on |
|
|
| `rotate` | 0 | Number | Rotation in degrees |
|
|
|
|
|