2021-10-17 18:26:00 +02:00
|
|
|
---
|
|
|
|
title: miniscale
|
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
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/).
|
|
|
|
|
2022-01-19 11:31:39 +01:00
|
|
|
<Example part="plugin_scalebox">
|
|
|
|
Example of a scalebox (left) and miniscale (right)
|
|
|
|
</Example>
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
```js
|
|
|
|
macro('miniscale', {
|
|
|
|
at: points.anchor
|
|
|
|
})
|
|
|
|
```
|
|
|
|
|
2021-10-17 18:26:00 +02:00
|
|
|
| Property | Default | Type | Description |
|
2021-08-25 16:09:31 +02:00
|
|
|
|-------------|---------|---------------------|-------------|
|
|
|
|
| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on |
|
|
|
|
| `rotate` | 0 | Number | Rotation in degrees |
|
2021-10-17 18:26:00 +02:00
|
|
|
|
|
|
|
|