Refactored Commmand and ViewProvider to be data driven and moved imlementation into PathAreaOpGui.
This commit is contained in:
committed by
Yorik van Havre
parent
0617d360d0
commit
89da621869
@@ -160,6 +160,14 @@ def surfaceselect():
|
||||
FreeCADGui.Selection.addSelectionGate(MESHGate())
|
||||
FreeCAD.Console.PrintWarning("Surfacing Select Mode\n")
|
||||
|
||||
def select(op):
|
||||
opsel = {}
|
||||
opsel['Profile'] = profileselect
|
||||
opsel['Pocket'] = pocketselect
|
||||
opsel['Contour'] = contourselect
|
||||
opsel['Surface'] = surfaceselect
|
||||
return opsel[op]
|
||||
|
||||
def clear():
|
||||
FreeCADGui.Selection.removeSelectionGate()
|
||||
FreeCAD.Console.PrintWarning("Free Select\n")
|
||||
|
||||
Reference in New Issue
Block a user