freesewing a library for made-to-measure sewing patterns
# plugin-flip
A freesewing plugin to flip a part around the Y-axis (mirror it horizontally).
## Install
Install this plugin from NPM:
```sh
npm install --save @freesewing/plugin-flip
```
## Usage
To load this plugin, add it to your instantiated pattern:
```js
import pattern from '@freesewing/pattern-brian'
import theme from '@freesewing/plugin-theme'
import flip from '@freesewing/plugin-flip'
pattern.with(theme).with(flip);
```
You now have the `flip` macro available:
```js
macro("flip");
```
This macro will:
- For all the points in your part, it will multiply their X-value by -1
- For all the snippets in your part, it will multiply the X-value of their anchor point by -1
- For all the paths in your part, and for each point the path uses, it will multiply its X-value by -1
## Where to get help
Questions? Stuck? The [freesewing chat room on Gitter](https://gitter.im/freesewing/freesewing)
is the best place to ask for help.