From 25d419e1c0d7a242896ad263d595f05ce45da429 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Mon, 1 Jun 2020 14:46:38 -0400 Subject: [PATCH] [Draft]Path Array tangent rotation direction --- src/Mod/Draft/draftobjects/patharray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/draftobjects/patharray.py b/src/Mod/Draft/draftobjects/patharray.py index a6a9edaf77..20d552cb91 100644 --- a/src/Mod/Draft/draftobjects/patharray.py +++ b/src/Mod/Draft/draftobjects/patharray.py @@ -148,7 +148,7 @@ class PathArray(DraftLink): baseRotation = basePlacement.Rotation stdX = App.Vector(1.0, 0.0, 0.0) #default TangentVector if (not DraftVecUtils.equals(stdX, obj.TangentVector)): - preRotation = App.Rotation(stdX, obj.TangentVector) #make rotation from X to TangentVector + preRotation = App.Rotation(obj.TangentVector, stdX) #make rotation from TangentVector to X netRotation = baseRotation.multiply(preRotation) else: netRotation = baseRotation