JSPM

@freesewing/plugin-dimension

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q58971F
  • License MIT

A freesewing plugin to add dimensions to your (paperless) pattern

Package Exports

  • @freesewing/plugin-dimension

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@freesewing/plugin-dimension) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Freesewing logo

 freesewing
a library for made-to-measure sewing patterns

freesewing / plugins / macro-cutonfold

This is a macro for freesewing to add cut-on-fold indicators on your patterns.

Install

npm install @freesewing-plugins/macro-cutonfold --save

Loading the plugin

Plugins are loaded by the withPlugin method of an instantiated freesewing pattern:

import F from 'freesewing';
import cutonfold from '@freesewing-plugins/macro-cutonfold';

var pattern = new F.pattern()
  .withPlugin(cutonfold);

Using the plugin

This plugin provides the cutonfold macro which you can call with the macro method on an instantiated pattern part:

part.macro('cutonfold', {
  from: points.cbNeck
, to: points.cbHips
});

Parameters

  • to: A point object at the start of the cut-on-fold indicator
  • from: A point object at the end of the cut-on-fold indicator

As all freesewing macros, bundle these parameters into a single object.

Example

FIXME: include example