fixes 0003524: The PartDesign hole feature should respect the Reverse property and provide a checkbox in the panel
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user