1
0
Fork 0
freesewing/markdown/dev/howtos/design/sprinkle-snippets/en.md
2022-10-14 16:03:47 +02:00

687 B

title
Add several of the same snippets with the sprinkle macro

Adding multiple snippets at the same time results in a lot of repetitive code. It is better to use the sprinkle macro instead:

macro('sprinkle', {
  snippet: 'notch',
  on: [
    'neck',
    'shoulder',
    'armholePitch',
    'chestPocketBottomLeft',
    'chestPocketBottomRight',
    'lapelBreakPoint',
    'notchMax',
    'notch',
    'innerPocketLeft',
    'innerPocketRight',
    'frontPocketTopLeft',
    'frontPocketBottomLeft',
    'armholeHollow',
    'waist'
  ]
})

Refer to the sprinkle macro documentation for details on how to use this macro