1
0
Fork 0
freesewing/packages/plugin-round
2019-04-19 08:22:38 +02:00
..
img tada: initial commit 2019-04-19 08:22:37 +02:00
src sparkles: Rounded corners before checking for 90 degrees 2019-04-19 08:22:38 +02:00
tests tada: initial commit 2019-04-19 08:22:37 +02:00
.babelrc tada: initial commit 2019-04-19 08:22:37 +02:00
.editorconfig tada: initial commit 2019-04-19 08:22:37 +02:00
.gitignore tada: initial commit 2019-04-19 08:22:37 +02:00
.npmignore tada: initial commit 2019-04-19 08:22:37 +02:00
LICENSE tada: initial commit 2019-04-19 08:22:37 +02:00
package-lock.json wrench: Updated rollup config 2019-04-19 08:22:38 +02:00
package.json wrench: Updated rollup config 2019-04-19 08:22:38 +02:00
README.md tada: initial commit 2019-04-19 08:22:37 +02:00
rollup.config.js wrench: Updated rollup config 2019-04-19 08:22:38 +02:00

Freesewing logo

 freesewing
a library for made-to-measure sewing patterns

Travis build Version License Code coverage DeepScan grade Chat on Gitter Become a Patron

plugin-round

A freesewing plugin to round corners.

Install

Install this plugin from NPM:

npm install --save @freesewing/plugin-round

Usage

To load this plugin, add it to your instantiated pattern:

import pattern from '@freesewing/pattern-brian'
import theme from '@freesewing/plugin-theme'
import round from '@freesewing/plugin-round'

pattern.with(theme).with(round);

You now have the round macro available:

macro("round", {
  from: pointA,
  to: pointC,
  via: pointB,
  radius: 20,
  render: true,
  class: "fabric",
  prefix: "example"
});

FIXME: Link to documentation

Where to get help

Questions? Stuck? The freesewing chat room on Gitter is the best place to ask for help.