1
0
Fork 0
freesewing/markdown/dev/reference/plugins/round/en.md
2021-12-27 17:33:49 +01:00

1 KiB

title
@freesewing/plugin-round

The @freesewing/plugin-round plugin provides the round macro which helps you round corners on your designs.

Straight corners only

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

An example of the round macro

The round plugin is part of our plugin-bundle

Installation

npm install @freesewing/plugin-round

Usage

Like all build-time plugins, you load them by passing them to the freesewing.Design super-constructor:

import freesewing from "@freesewing/core";
import round from "@freesewing/plugin-round";
import config from "../config";

const Pattern = new freesewing.Design(config, round);

Now you can use the round macro: in your parts.