core-plugins
Published as @freesewing/core-plugins, our core plugins bundles the most commonly used FreeSewing plugins in one bundle that is loaded by the core library by default.
Specifically, loading this plugin will have the same effect as loading these plugins individually:
- plugin-annotations : A variety of snippets, macros, and store methods for annotating patterns
- plugin-measurements : Make extra, calculated measurements available to your patterns
- plugin-mirror : Mirror points and paths in your patterns
- plugin-round : Create rounded corners in your patterns
- plugin-sprinkle : Add multiple snippets to your patterns
- plugin-binpack : The default bin packing algorithm used to handle auto-generated layouts in core
Installation
npm install @freesewing/core-plugins
Usage
The core plugins are loaded by default so there is nothing to be done to use them.
If you do not want to load the core plugins, pass noCorePlugins: true
to your Design constructor:
const design = new Design({
parts: myParts,
noCorePlugins: true
})