From e80389fc2f7878018703d1da3ef3cf21922d124c Mon Sep 17 00:00:00 2001 From: sliptonic Date: Tue, 19 Dec 2017 13:58:32 -0600 Subject: [PATCH] fixes #3284 path direction if useComp is false --- src/Mod/Path/PathScripts/PathProfileBase.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathProfileBase.py b/src/Mod/Path/PathScripts/PathProfileBase.py index 7d7024142a..bb2e29637a 100644 --- a/src/Mod/Path/PathScripts/PathProfileBase.py +++ b/src/Mod/Path/PathScripts/PathProfileBase.py @@ -119,9 +119,14 @@ class ObjectProfile(PathAreaOp.ObjectOp): params['orientation'] = 0 else: params['orientation'] = 1 + if not obj.UseComp: + if direction == 'CCW': + params['orientation'] = 1 + else: + params['orientation'] = 0 return params - + def areaOpUseProjection(self, obj): '''areaOpUseProjection(obj) ... returns True''' return True