From 564d41d8351bc74f589ffdd1358f23bf64d926f2 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 22 Feb 2019 21:10:05 +0100 Subject: [PATCH] fixes 0003524: The PartDesign hole feature should respect the Reverse property and provide a checkbox in the panel --- src/Mod/PartDesign/App/FeatureHole.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/PartDesign/App/FeatureHole.cpp b/src/Mod/PartDesign/App/FeatureHole.cpp index 8a3d1d0c94..d960554eb2 100644 --- a/src/Mod/PartDesign/App/FeatureHole.cpp +++ b/src/Mod/PartDesign/App/FeatureHole.cpp @@ -977,6 +977,8 @@ App::DocumentObjectExecReturn *Hole::execute(void) // Get vector normal to profile Base::Vector3d SketchVector = getProfileNormal(); + if (Reversed.getValue()) + SketchVector *= -1.0; // Define this as zDir gp_Vec zDir(SketchVector.x, SketchVector.y, SketchVector.z);