From d22fbe78d924ffc48f364648c6fda80c7662842a Mon Sep 17 00:00:00 2001 From: Josh Munic Date: Sat, 22 Mar 2025 01:45:50 -0700 Subject: [PATCH] Fix the cutting instructions for the Simon Yoke (#7378) - Previously it said to cut 1 on the fold, which is wrong - Now it says to cut 2 mirrored from main fabric --- designs/simon/src/yoke.mjs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/designs/simon/src/yoke.mjs b/designs/simon/src/yoke.mjs index bdc86529a3f..f429c712c00 100644 --- a/designs/simon/src/yoke.mjs +++ b/designs/simon/src/yoke.mjs @@ -1,11 +1,25 @@ import { back } from './back.mjs' import { splitYoke } from './options.mjs' -function simonYoke({ sa, Point, points, Path, paths, Snippet, snippets, macro, options, part }) { +function simonYoke({ + sa, + Point, + points, + Path, + paths, + Snippet, + snippets, + macro, + options, + store, + part, +}) { for (const id in paths) { if (['backCollar', 'backArmhole', 'backArmholeYoke'].indexOf(id) === -1) delete part.paths[id] } + store.cutlist.setCut({ cut: 2, from: 'fabric' }) + // Paths paths.saBase = new Path().move(points.cbYoke).line(points.armholeYokeSplitPreBoxpleat) if (options.yokeHeight > 0) paths.saBase = paths.saBase.join(paths.backArmholeYoke)