1
0
Fork 0

feat(plugin-ringsector): New plugin to draft a ring sector

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
This commit is contained in:
Joost De Cock 2023-10-16 16:19:27 +02:00
parent 5d03d146f7
commit 075cb34184
17 changed files with 727 additions and 166 deletions

View file

@ -0,0 +1,30 @@
---
title: plugin-ringsector
---
Published as [@freesewing/plugin-ringsector][1], this plugin facilitates
drafting a ring sector (like a part of a donut).
It is particularly usefor for drafting curved waistband, circle skirts, and so on.
## Provides
- [The ringsector macro](/reference/macros/ringsector)
- [The rmringsector macro](/reference/macros/rmringsector)
## Installation
```sh
npm install @freesewing/plugin-ringsector
```
## Usage
You should [add it as a part plugin](/reference/api/part/config/plugins).
Refer to the documentation of [the provided macros](#provides) for details on how to use them.
To import the plugin for use:
```js
import { plugin as ringsectorPlugin } from '@freesewing/plugin-ringsector'
```
[1]: https://www.npmjs.com/package/@freesewing/plugin-ringsector