Path: Initiate unification of ProfileFaces and ProfileEdges operations

ProfileFaces now accepts and processes faces and edges.
Full functionality is maintained (so far as tested) with respect to original operations.
This commit is contained in:
Russell Johnson
2020-05-05 13:20:08 -05:00
parent 25fc5137d6
commit c5e577be89
3 changed files with 990 additions and 77 deletions

View File

@@ -209,7 +209,11 @@ def chamferselect():
def profileselect():
FreeCADGui.Selection.addSelectionGate(PROFILEGate())
gate = False
if(PROFILEGate() or EGate()):
gate = True
FreeCADGui.Selection.addSelectionGate(gate)
# FreeCADGui.Selection.addSelectionGate(PROFILEGate())
FreeCAD.Console.PrintWarning("Profiling Select Mode\n")
@@ -249,6 +253,7 @@ def select(op):
opsel['Pocket Shape'] = pocketselect
opsel['Profile Edges'] = eselect
opsel['Profile Faces'] = profileselect
opsel['Profile'] = profileselect
opsel['Surface'] = surfaceselect
opsel['Waterline'] = surfaceselect
opsel['Adaptive'] = adaptiveselect