
This plugin provides the `ringsector` and `rmringsector` plugins. The Sandy design was adapted to use the `ringsector` plugin instead of its own method for doing this (that method was the base for this plugin). The plugin is also added to the tabbed-example component. This closes #3865
1.3 KiB
1.3 KiB
title |
---|
rmringsector |
The rmringsector
macro removes the nodes added by the ringsector macro.
It is the recommended way to remove (the effects of) a ringsector
macro.
It is provided by the ringsector plugin.
##### Not a core-plugins macroThe rmringsector
macro is not provided by the core-plugins,
so you need to load the ringsector plugin explicitly
if you want to use it.
Signature
macro('rmringsector', String id = 'ringsector')
Example
```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).