1
0
Fork 0
freesewing/sites/dev/docs/reference/plugins/gore/readme.mdx

33 lines
834 B
Text
Raw Normal View History

2021-12-28 09:09:27 +01:00
---
title: plugin-gore
2021-12-28 09:09:27 +01:00
---
Published as [@freesewing/plugin-gore][1], this plugin provides [the gore
2022-10-12 19:09:04 +02:00
macro](/reference/macros/gore) which allows you to generate [gore
segments](https://en.wikipedia.org/wiki/Gore_\(segment\)); 2D panels to create
2022-12-14 12:52:37 -08:00
a spherical shape as used in hats for example.
2021-12-28 09:09:27 +01:00
This plugin handles all the mathematics to create a (part-)sphere in your
designs.
2021-12-28 09:09:27 +01:00
## Installation
```sh
npm install @freesewing/plugin-gore
```
## Usage
Either [add it as a part plugins](/reference/api/part/config/plugins) in your
design, or [add it to a pattern instance with
Pattern.use()](/reference/api/pattern/use).
2021-12-28 09:09:27 +01:00
To import the plugin for use:
```js
import { gorePlugin } from '@freesewing/plugin-gore'
// or
import { pluginGore } from '@freesewing/plugin-gore'
```
2021-12-28 09:09:27 +01:00
[1]: https://www.npmjs.com/package/@freesewing/plugin-gore