From 6ca62fb986aded2eb8cf931ee5e40ec777c0e24b Mon Sep 17 00:00:00 2001 From: Enoch Riese Date: Thu, 9 Mar 2023 18:20:43 -0600 Subject: [PATCH] don't mirror certain macro paths --- .../components/workbench/layout/cut/plugin-cut-layout.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sites/shared/components/workbench/layout/cut/plugin-cut-layout.mjs b/sites/shared/components/workbench/layout/cut/plugin-cut-layout.mjs index 4a8a7b503ff..686f56dacc7 100644 --- a/sites/shared/components/workbench/layout/cut/plugin-cut-layout.mjs +++ b/sites/shared/components/workbench/layout/cut/plugin-cut-layout.mjs @@ -106,7 +106,8 @@ export const cutLayoutPlugin = function (material, grainAngle) { const mirrorPaths = [] for (const p in paths) { // skip ones that are hidden - if (!paths[p].hidden) mirrorPaths.push(paths[p]) + if (!paths[p].hidden && !p.match(/^(cutonfold|grainline|__scalebox|__miniscale)/)) + mirrorPaths.push(paths[p]) } // store all the points to mirror