1
0
Fork 0
freesewing/sites/dev/docs/reference/plugins/round
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
..
readme.mdx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00

---
title: plugin-round
---

Published as [@freesewing/plugin-round][1], this plugin provides [the round
macro](/reference/macros/round) which helps you create rounded corners on your
designs.

## Installation

```sh
npm install @freesewing/plugin-round
```

## 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).

```js
import { roundPlugin } from '@freesewing/plugin-round'
// or
import { pluginRound } from '@freesewing/plugin-round'
```

## Notes

The `round` macro is intended for rounding 90° angles.
It does not support rounding other angles/corners.

This plugin is part of the [core-plugins bundle](/reference/plugins/core),
so there is no need to install or import it manually unless you wish to forego
loading of core plugins yet still want to load this plugin.

[1]: https://www.npmjs.com/package/@freesewing/plugin-round