1
0
Fork 0

don't mirror certain macro paths

This commit is contained in:
Enoch Riese 2023-03-09 18:20:43 -06:00
parent deb5bb8407
commit 6ca62fb986

View file

@ -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