From 276f8f5fab82c7bf34b605c00a9e7253deb46651 Mon Sep 17 00:00:00 2001 From: jim Date: Mon, 24 May 2021 21:21:17 -0700 Subject: [PATCH] Fix row-ordering logic when SwapDirection==True --- src/Mod/Path/PathScripts/PathArray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathArray.py b/src/Mod/Path/PathScripts/PathArray.py index 7b4fe67218..b06a380e1e 100644 --- a/src/Mod/Path/PathScripts/PathArray.py +++ b/src/Mod/Path/PathScripts/PathArray.py @@ -213,9 +213,9 @@ class ObjectArray: for i in range(obj.CopiesY + 1): for j in range(obj.CopiesX + 1): if (i % 2) == 0: - pos = FreeCAD.Vector(obj.Offset.x * i, obj.Offset.y * j, 0) + pos = FreeCAD.Vector(obj.Offset.x * j, obj.Offset.y * i, 0) else: - pos = FreeCAD.Vector(obj.Offset.x * i, obj.Offset.y * (obj.CopiesY - j), 0) + pos = FreeCAD.Vector(obj.Offset.x * (obj.CopiesX - j), obj.Offset.y * i, 0) pos = self.calculateJitter(obj, pos) for b in base: