Renamed PathAreaOpGui to PathOpGui - there's nothing Area specific in there.
This commit is contained in:
committed by
Yorik van Havre
parent
0093e9296f
commit
693cefd780
@@ -19,7 +19,6 @@ INSTALL(
|
||||
SET(PathScripts_SRCS
|
||||
PathCommands.py
|
||||
PathScripts/PathAreaOp.py
|
||||
PathScripts/PathAreaOpGui.py
|
||||
PathScripts/PathArray.py
|
||||
PathScripts/PathComment.py
|
||||
PathScripts/PathCompoundExtended.py
|
||||
@@ -48,6 +47,7 @@ SET(PathScripts_SRCS
|
||||
PathScripts/PathMillFace.py
|
||||
PathScripts/PathMillFaceGui.py
|
||||
PathScripts/PathOp.py
|
||||
PathScripts/PathOpGui.py
|
||||
PathScripts/PathPlane.py
|
||||
PathScripts/PathPocket.py
|
||||
PathScripts/PathPocketBaseGui.py
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathMillFace as PathMillFace
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathPocketBaseGui as PathPocketBaseGui
|
||||
|
||||
from PySide import QtCore
|
||||
@@ -35,7 +35,7 @@ class TaskPanelOpPage(PathPocketBaseGui.TaskPanelOpPage):
|
||||
def pocketFeatures(self):
|
||||
return PathPocketBaseGui.FeatureFacing
|
||||
|
||||
PathAreaOpGui.SetupOperation('MillFace',
|
||||
PathOpGui.SetupOperation('MillFace',
|
||||
PathMillFace.Create,
|
||||
TaskPanelOpPage,
|
||||
'Path-Face',
|
||||
|
||||
@@ -542,4 +542,4 @@ def SetupOperation(name,
|
||||
|
||||
FreeCADGui.addCommand('Set_StartPoint', _CommandSetStartPoint())
|
||||
|
||||
FreeCAD.Console.PrintLog("Loading PathAreaOpGui... done\n")
|
||||
FreeCAD.Console.PrintLog("Loading PathOpGui... done\n")
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathLog as PathLog
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathPocket as PathPocket
|
||||
import PathScripts.PathSelection as PathSelection
|
||||
|
||||
@@ -38,7 +38,7 @@ def translate(context, text, disambig=None):
|
||||
FeaturePocket = 0x01
|
||||
FeatureFacing = 0x02
|
||||
|
||||
class TaskPanelOpPage(PathAreaOpGui.TaskPanelPage):
|
||||
class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
|
||||
def getForm(self):
|
||||
form = FreeCADGui.PySideUic.loadUi(":/panels/PageOpPocketFullEdit.ui")
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
# ***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathPocket as PathPocket
|
||||
import PathScripts.PathPocketBaseGui as PathPocketBaseGui
|
||||
|
||||
@@ -34,7 +34,7 @@ class TaskPanelOpPage(PathPocketBaseGui.TaskPanelOpPage):
|
||||
def pocketFeatures(self):
|
||||
return PathPocketBaseGui.FeaturePocket
|
||||
|
||||
PathAreaOpGui.SetupOperation('Pocket',
|
||||
PathOpGui.SetupOperation('Pocket',
|
||||
PathPocket.Create,
|
||||
TaskPanelOpPage,
|
||||
'Path-Pocket',
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathLog as PathLog
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathProfileFaces as PathProfileFaces
|
||||
import PathScripts.PathSelection as PathSelection
|
||||
import PathScripts.PathUtils as PathUtils
|
||||
@@ -38,7 +38,7 @@ def translate(context, text, disambig=None):
|
||||
FeatureSide = 0x01
|
||||
FeatureProcessing = 0x02
|
||||
|
||||
class TaskPanelOpPage(PathAreaOpGui.TaskPanelPage):
|
||||
class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
|
||||
def getForm(self):
|
||||
form = FreeCADGui.PySideUic.loadUi(":/panels/PageOpProfileFullEdit.ui")
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
# ***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathProfileBaseGui as PathProfileBaseGui
|
||||
import PathScripts.PathProfileContour as PathProfileContour
|
||||
|
||||
@@ -35,7 +35,7 @@ class TaskPanelOpPage(PathProfileBaseGui.TaskPanelOpPage):
|
||||
# I know this looks bad, contour is just the most basic profile op there is
|
||||
return 0
|
||||
|
||||
PathAreaOpGui.SetupOperation('Contour',
|
||||
PathOpGui.SetupOperation('Contour',
|
||||
PathProfileContour.Create,
|
||||
TaskPanelOpPage,
|
||||
'Path-Contour',
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
# ***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathProfileBaseGui as PathProfileBaseGui
|
||||
import PathScripts.PathProfileEdges as PathProfileEdges
|
||||
|
||||
@@ -34,7 +34,7 @@ class TaskPanelOpPage(PathProfileBaseGui.TaskPanelOpPage):
|
||||
def profileFeatures(self):
|
||||
return PathProfileBaseGui.FeatureSide
|
||||
|
||||
PathAreaOpGui.SetupOperation('Profile Edges',
|
||||
PathOpGui.SetupOperation('Profile Edges',
|
||||
PathProfileEdges.Create,
|
||||
TaskPanelOpPage,
|
||||
'Path-Profile',
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
# ***************************************************************************
|
||||
|
||||
import FreeCAD
|
||||
import PathScripts.PathAreaOpGui as PathAreaOpGui
|
||||
import PathScripts.PathOpGui as PathOpGui
|
||||
import PathScripts.PathProfileBaseGui as PathProfileBaseGui
|
||||
import PathScripts.PathProfileFaces as PathProfileFaces
|
||||
|
||||
@@ -34,7 +34,7 @@ class TaskPanelOpPage(PathProfileBaseGui.TaskPanelOpPage):
|
||||
def profileFeatures(self):
|
||||
return PathProfileBaseGui.FeatureSide | PathProfileBaseGui.FeatureProcessing
|
||||
|
||||
PathAreaOpGui.SetupOperation('Profile Faces',
|
||||
PathOpGui.SetupOperation('Profile Faces',
|
||||
PathProfileFaces.Create,
|
||||
TaskPanelOpPage,
|
||||
'Path-Profile',
|
||||
|
||||
Reference in New Issue
Block a user