1
0
Fork 0

fix(docs): Insert space between numbers and SI units

This commit is contained in:
Benjamin F 2022-12-26 07:00:16 -08:00
parent d0415b33a5
commit 7b8b6997d0
11 changed files with 24 additions and 24 deletions

View file

@ -4,7 +4,7 @@ title: margin
The `margin` setting allows you to specify a part margin (in mm).
Each part will have this margin applied when they are laid out on the pattern.
The default is `2mm`.
The default is `2 mm`.
## Signature
@ -27,12 +27,12 @@ const pattern = new Aaron({
## Notes
The _margin_ implies that:
- At the edge of the SVG, the margin will be `margin * 1` (2mm by default)
- Between parts, the margin will be `margin * 2` (4mm by default)
- At the edge of the SVG, the margin will be `margin * 1` (2 mm by default)
- Between parts, the margin will be `margin * 2` (4 mm by default)
Setting the margin to zero (or below) will cause parts to overlap.
In paperless mode, the margin will not go below 10mm.
In paperless mode, the margin will not go below 10 mm.
That is because text is not taken into account when calculating the bounding
box of the part. Since dimensions are typically the outermost elements in a
paperless part, a too narrow margin would cause the dimension text to get cut

View file

@ -41,4 +41,4 @@ and omit them if set to `false`.
The `paperless` setting does automatically cause the grid to be included.
Setting `paperless` to `true` will also cause the [margin](/reference/settings/margin) to not go below 10mm.
Setting `paperless` to `true` will also cause the [margin](/reference/settings/margin) to not go below 10 mm.