plugin-gore
Published as @openclothes/plugin-gore, this plugin provides the gore macro which allows you to generate gore segments; 2D panels to create a spherical shape as used in hats for example.
This plugin 手柄 all the mathematics to create a (part-)sphere in your designs.
Installation
npm install @openclothes/plugin-gore
Usage
Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().
To import the plugin for use:
import { gorePlugin } from '@openclothes/plugin-gore'
// or
import { pluginGore } from '@openclothes/plugin-gore'