1
0
Fork 0

chore(markdown): Docs for removal of macros

This commit is contained in:
Joost De Cock 2022-07-10 16:09:12 +02:00
parent df5c68f69d
commit 8ba3c6ad17
4 changed files with 41 additions and 0 deletions

View file

@ -33,3 +33,13 @@ Since this is typically used on corners, the generated cut-on-fold indicator
will not go all the way to the `to` and `from` points. will not go all the way to the `to` and `from` points.
</Note> </Note>
## Removing the cut on fold indicator
If you inherit a part with a cut on fold indicator and you'd like to remove it,
you can do so by passing `false` to the macro:
```js
macro('cutonfold', false)
```

View file

@ -23,3 +23,13 @@ macro("grainline", {
| `text` | 'grainline' | string | The text to put on the _grainline_ indicator | | `text` | 'grainline' | string | The text to put on the _grainline_ indicator |
[1]: /reference/api/point [1]: /reference/api/point
## Removing the grainline indicator
If you inherit a part with a grainline indicator and you'd like to remove it,
you can do so by passing `false` to the macro:
```js
macro('grainline', false)
```

View file

@ -22,3 +22,14 @@ macro('miniscale', {
|-------------|---------|---------------------|-------------| |-------------|---------|---------------------|-------------|
| `at` | | [Point](/reference/api/point) | The point to anchor the _scale box_ on | | `at` | | [Point](/reference/api/point) | The point to anchor the _scale box_ on |
| `rotate` | 0 | Number | Rotation in degrees | | `rotate` | 0 | Number | Rotation in degrees |
## Removing the miniscal
If you inherit a part with a miniscale on it and you'd like to remove all points and paths
generated by the miniscale macro, you can do so by passing `false` to the macro:
```js
macro('miniscale', false)
```

View file

@ -26,3 +26,13 @@ macro('scalebox', {
| `rotate` | 0 | Number | Rotation in degrees | | `rotate` | 0 | Number | Rotation in degrees |
(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` (\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons`
## Removing the scalebox
If you inherit a part with a scalebox on it and you'd like to remove all points and paths
generated by the scalebox macro, you can do so by passing `false` to the macro:
```js
macro('scalebox', false)
```