Added Reversed button to Pocket UI if the sketch plane is a datum plane

This commit is contained in:
jrheinlaender
2013-05-11 20:17:49 +04:30
committed by Stefan Tröger
parent 6915d8b734
commit 0bcdb0511f
8 changed files with 40 additions and 6 deletions

View File

@@ -145,6 +145,9 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
TopoDS_Face supportface = getSupportFace();
supportface.Move(invObjLoc);
if (Reversed.getValue())
dir.Reverse();
// Find a valid face to extrude up to
TopoDS_Face upToFace;
if (method == "UpToFace") {