2021-12-28 09:09:27 +01:00
|
|
|
---
|
2022-10-02 18:07:36 +02:00
|
|
|
title: plugin-gore
|
2021-12-28 09:09:27 +01:00
|
|
|
---
|
|
|
|
|
2022-10-02 00:27:09 +02: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
|
2022-10-02 00:27:09 +02:00
|
|
|
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
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
This plugin handles all the mathematics to create a (part-)sphere in your
|
2022-12-13 04:39:07 -08:00
|
|
|
designs.
|
2021-12-28 09:09:27 +01:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm install @freesewing/plugin-gore
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
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
|
|
|
|
2022-12-13 04:39:07 -08: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
|
|
|
|
2022-12-13 04:39:07 -08:00
|
|
|
[1]: https://www.npmjs.com/package/@freesewing/plugin-gore
|