feat(markdown): New docs for various things
This commit is contained in:
parent
9fe93e03ce
commit
6b147d81a0
93 changed files with 1274 additions and 589 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: rmringsector
|
||||
title: rmRingSector
|
||||
---
|
||||
|
||||
The `rmringsector` macro removes the nodes added by [the ringsector macro](/reference/macros/ringsector).
|
||||
|
@ -21,36 +21,3 @@ if you want to use it.
|
|||
macro('rmringsector', String id = 'ringsector')
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
<Example caption="Example of a ring sector removed by this macro">
|
||||
```js
|
||||
({ Point, macro, Path, paths, part }) => {
|
||||
|
||||
macro('ringsector', {
|
||||
angle: 60,
|
||||
insideRadius: 30,
|
||||
outsideRadius: 45,
|
||||
})
|
||||
macro('rmringsector')
|
||||
|
||||
return part
|
||||
}
|
||||
```
|
||||
</Example>
|
||||
|
||||
## Configuration
|
||||
|
||||
| Property | Default | Type | Description |
|
||||
|---------:|--------------|--------|-------------|
|
||||
| `id` | `ringsector` | String | The id of the ringsector macro to remove |
|
||||
|
||||
## Notes
|
||||
|
||||
### Nodes removed by this macro
|
||||
|
||||
This macro will remove points and a single path from your part.
|
||||
Their IDs have been saved in store under:
|
||||
`parts.{part.name}.macros.@freesewing/plugin-ringsector.ids.{id}`
|
||||
by the [the ringsector macro](/reference/macros/ringsector).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue