From fb565722536ba2ce50fd4dc32a2811449adc839b Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Sun, 6 Aug 2017 13:33:03 -0700 Subject: [PATCH] Renamed PathContour to PathProfileContour for consistency. --- src/Mod/Path/CMakeLists.txt | 4 ++-- src/Mod/Path/InitGui.py | 2 +- .../{PathContour.py => PathProfileContour.py} | 0 .../{PathContourGui.py => PathProfileContourGui.py} | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) rename src/Mod/Path/PathScripts/{PathContour.py => PathProfileContour.py} (100%) rename src/Mod/Path/PathScripts/{PathContourGui.py => PathProfileContourGui.py} (86%) diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/Path/CMakeLists.txt index 1040aa70d5..b7c357052e 100644 --- a/src/Mod/Path/CMakeLists.txt +++ b/src/Mod/Path/CMakeLists.txt @@ -23,8 +23,6 @@ SET(PathScripts_SRCS PathScripts/PathArray.py PathScripts/PathComment.py PathScripts/PathCompoundExtended.py - PathScripts/PathContour.py - PathScripts/PathContourGui.py PathScripts/PathCopy.py PathScripts/PathCustom.py PathScripts/PathDressup.py @@ -58,6 +56,8 @@ SET(PathScripts_SRCS PathScripts/PathPreferencesPathJob.py PathScripts/PathProfileBase.py PathScripts/PathProfileBaseGui.py + PathScripts/PathProfileContour.py + PathScripts/PathProfileContourGui.py PathScripts/PathProfileEdges.py PathScripts/PathProfileEdgesGui.py PathScripts/PathProfileFaces.py diff --git a/src/Mod/Path/InitGui.py b/src/Mod/Path/InitGui.py index 9b32ce62b4..5abd4b9698 100644 --- a/src/Mod/Path/InitGui.py +++ b/src/Mod/Path/InitGui.py @@ -45,7 +45,6 @@ class PathWorkbench (Workbench): from PathScripts import PathArray from PathScripts import PathComment from PathScripts import PathCompoundExtended - from PathScripts import PathContourGui from PathScripts import PathCopy from PathScripts import PathCustom from PathScripts import PathDressup @@ -67,6 +66,7 @@ class PathWorkbench (Workbench): from PathScripts import PathPlane from PathScripts import PathPocketGui from PathScripts import PathPost + from PathScripts import PathProfileContourGui from PathScripts import PathProfileEdgesGui from PathScripts import PathProfileFacesGui from PathScripts import PathSanity diff --git a/src/Mod/Path/PathScripts/PathContour.py b/src/Mod/Path/PathScripts/PathProfileContour.py similarity index 100% rename from src/Mod/Path/PathScripts/PathContour.py rename to src/Mod/Path/PathScripts/PathProfileContour.py diff --git a/src/Mod/Path/PathScripts/PathContourGui.py b/src/Mod/Path/PathScripts/PathProfileContourGui.py similarity index 86% rename from src/Mod/Path/PathScripts/PathContourGui.py rename to src/Mod/Path/PathScripts/PathProfileContourGui.py index a9f85c0c0e..560c4deed9 100644 --- a/src/Mod/Path/PathScripts/PathContourGui.py +++ b/src/Mod/Path/PathScripts/PathProfileContourGui.py @@ -24,8 +24,8 @@ import FreeCAD import PathScripts.PathAreaOpGui as PathAreaOpGui -import PathScripts.PathContour as PathContour import PathScripts.PathProfileBaseGui as PathProfileBaseGui +import PathScripts.PathProfileContour as PathProfileContour from PySide import QtCore @@ -36,11 +36,11 @@ class TaskPanelOpPage(PathProfileBaseGui.TaskPanelOpPage): return 0 PathAreaOpGui.SetupOperation('Contour', - PathContour.Create, + PathProfileContour.Create, TaskPanelOpPage, 'Path-Contour', - QtCore.QT_TRANSLATE_NOOP("PathContour", "Contour"), + QtCore.QT_TRANSLATE_NOOP("PathProfileContour", "Contour"), "P, C", - QtCore.QT_TRANSLATE_NOOP("PathContour", "Creates a Contour Path for the Base Object ")) + QtCore.QT_TRANSLATE_NOOP("PathProfileContour", "Creates a Contour Path for the Base Object ")) -FreeCAD.Console.PrintLog("Loading PathContourGui... done\n") +FreeCAD.Console.PrintLog("Loading PathProfileContourGui... done\n")