cutlist.addCut()

The cutlist.addCut() store method will add a set of cutting instructions for the part. This information is not use by the core library, it is merely stored.

Signature

Javascript
undefined store.cutlist.addCut({
  Number cut,
  String from,
  Bool identical = false,
  Bool onBias = false,
  Bool onFold = false,
})

Pass an object to the store.cutlist.addCut method with any of the following keys; any you don’t provide will be filled with the defaults:

KeyTypeDefaultDescription
cutNumber|false2The number of parts to cut from the specified material. Pass false to clear cutting instructions for the material
fromString’fabric’The (translation key of the) material to cut from
identicalBooleanfalseShould even numbers of parts be cut in the same direction? The default (false) is to mirror them
onBiasBooleanfalseShould the parts be cut on the bias?
onFoldBooleanfalseShould the parts be cut on the fold?
NOTE

You can use any string you want for your material, but here are some standard ones we provide translations for:

KeyTranslation
fabricMain Fabric
liningLining
canvasCanvas
interfacingInterfacing
ribbingRibbing

Example

9 Saturday, Apr 6, 2024 The title FreeSewing Example v0.0.1 ( ephemeral ) Cut 2 mirrored from main fabric Cut 2 mirrored from lining