diff --git a/.github/ISSUE_TEMPLATE/PROBLEM_REPORT.yml b/.github/ISSUE_TEMPLATE/PROBLEM_REPORT.yml
index cff6f83b08..813fa74c47 100644
--- a/.github/ISSUE_TEMPLATE/PROBLEM_REPORT.yml
+++ b/.github/ISSUE_TEMPLATE/PROBLEM_REPORT.yml
@@ -1,6 +1,5 @@
name: Report a Problem
description: Have you found something that does not work well, is too hard to do or is missing altogether? Please create a Problem Report.
-title: "Replace with a concise issue title"
labels: ["needs triage"]
body:
- type: checkboxes
@@ -35,6 +34,7 @@ body:
- Addon Manager
- Arch
- Assembly
+ - CAM/Path
- Core
- Draft
- Expressions
@@ -44,7 +44,6 @@ body:
- OpenSCAD
- Part
- PartDesign
- - Path
- Project Tools & Websites
- Sketcher
- Spreadsheet
diff --git a/.github/labels.yml b/.github/labels.yml
index e3f1298dea..670939ad64 100644
--- a/.github/labels.yml
+++ b/.github/labels.yml
@@ -13,6 +13,9 @@ Core:
Addon Manager:
- 'src/Mod/AddonManager/**/*'
+Materials:
+- 'src/Mod/Material/**/*'
+
WB Arch:
- 'src/Mod/Arch/**/*'
@@ -40,8 +43,8 @@ WB Part:
WB PartDesign:
- 'src/Mod/PartDesign/**/*'
-WB Path:
-- 'src/Mod/Path/**/*'
+WB CAM:
+- 'src/Mod/CAM/**/*'
WB Points:
- 'src/Mod/Points/**/*'
diff --git a/.gitmodules b/.gitmodules
index 0f84846b75..42c9b757f4 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "src/3rdParty/OndselSolver"]
path = src/3rdParty/OndselSolver
url = https://github.com/Ondsel-Development/OndselSolver.git
+[submodule "tests/lib"]
+ path = tests/lib
+ url = https://github.com/google/googletest
diff --git a/data/examples/CMakeLists.txt b/data/examples/CMakeLists.txt
index 3ebfb2e6a8..8bda04eafb 100644
--- a/data/examples/CMakeLists.txt
+++ b/data/examples/CMakeLists.txt
@@ -6,9 +6,9 @@ SET(Examples_Files
PartDesignExample.FCStd
RobotExample.FCStd
ArchDetail.FCStd
+ FemCalculixCantilever1D.FCStd
FemCalculixCantilever2D.FCStd
FemCalculixCantilever3D.FCStd
- FemCalculixCantilever3D_newSolver.FCStd
AssemblyExample.FCStd
)
diff --git a/data/examples/FemCalculixCantilever1D.FCStd b/data/examples/FemCalculixCantilever1D.FCStd
new file mode 100644
index 0000000000..5c0137567d
Binary files /dev/null and b/data/examples/FemCalculixCantilever1D.FCStd differ
diff --git a/data/examples/FemCalculixCantilever2D.FCStd b/data/examples/FemCalculixCantilever2D.FCStd
index 625e5b85b0..3298567931 100644
Binary files a/data/examples/FemCalculixCantilever2D.FCStd and b/data/examples/FemCalculixCantilever2D.FCStd differ
diff --git a/data/examples/FemCalculixCantilever3D.FCStd b/data/examples/FemCalculixCantilever3D.FCStd
index 2dc9800e0e..39e4e59471 100644
Binary files a/data/examples/FemCalculixCantilever3D.FCStd and b/data/examples/FemCalculixCantilever3D.FCStd differ
diff --git a/data/examples/FemCalculixCantilever3D_newSolver.FCStd b/data/examples/FemCalculixCantilever3D_newSolver.FCStd
deleted file mode 100644
index 23894e5894..0000000000
Binary files a/data/examples/FemCalculixCantilever3D_newSolver.FCStd and /dev/null differ
diff --git a/src/App/MappedElement.cpp b/src/App/MappedElement.cpp
index 3a0c134945..137c0e8883 100644
--- a/src/App/MappedElement.cpp
+++ b/src/App/MappedElement.cpp
@@ -28,6 +28,7 @@
# include
#endif
+#include "DocumentObject.h"
#include "MappedElement.h"
using namespace Data;
@@ -161,4 +162,11 @@ bool ElementNameComparator::operator()(const MappedName& leftName,
}
}
return leftName.size() < rightName.size();
-}
\ No newline at end of file
+}
+
+HistoryItem::HistoryItem(App::DocumentObject *obj, const Data::MappedName &name)
+ :obj(obj),tag(0),element(name)
+{
+ if(obj)
+ tag = obj->getID();
+}
diff --git a/src/App/MappedElement.h b/src/App/MappedElement.h
index 2e1d63e60a..8c49016686 100644
--- a/src/App/MappedElement.h
+++ b/src/App/MappedElement.h
@@ -99,6 +99,15 @@ struct AppExport MappedElement
}
};
+struct AppExport HistoryItem {
+ App::DocumentObject *obj;
+ long tag;
+ Data::MappedName element;
+ Data::IndexedName index;
+ std::vector intermediates;
+ HistoryItem(App::DocumentObject *obj, const Data::MappedName &name);
+};
+
struct AppExport ElementNameComparator {
/** Comparison function to make topo name more stable
*
diff --git a/src/App/ProjectFile.cpp b/src/App/ProjectFile.cpp
index b79ff11c94..316d185689 100644
--- a/src/App/ProjectFile.cpp
+++ b/src/App/ProjectFile.cpp
@@ -143,7 +143,7 @@ private:
metadata.uuid = propMap.at("Uid");
}
- void readProperty(DOMNode* propNode, std::map& propMap)
+ static void readProperty(DOMNode* propNode, std::map& propMap)
{
DOMNode* nameAttr = propNode->getAttributes()->getNamedItem(XStr("name").unicodeForm());
if (nameAttr) {
@@ -530,7 +530,7 @@ std::string ProjectFile::extractInputFile(const std::string& name)
return {};
}
-void ProjectFile::readInputFile(const std::string& name, std::stringstream& str)
+void ProjectFile::readInputFile(const std::string& name, std::ostream& str)
{
Base::FileInfo fi(extractInputFile(name));
if (fi.exists()) {
@@ -543,7 +543,7 @@ void ProjectFile::readInputFile(const std::string& name, std::stringstream& str)
// Read the given input file from the zip directly into the given stream (not using a temporary
// file)
-void ProjectFile::readInputFileDirect(const std::string& name, std::stringstream& str)
+void ProjectFile::readInputFileDirect(const std::string& name, std::ostream& str)
{
zipios::ZipFile project(stdFile);
std::unique_ptr istr(project.getInputStream(name));
diff --git a/src/App/ProjectFile.h b/src/App/ProjectFile.h
index b4e2a6c409..b0b30038dc 100644
--- a/src/App/ProjectFile.h
+++ b/src/App/ProjectFile.h
@@ -156,11 +156,11 @@ public:
/**
* Extracts, via a temporary file the content of an input file of @a name.
*/
- void readInputFile(const std::string& name, std::stringstream& str);
+ void readInputFile(const std::string& name, std::ostream& str);
/**
* Directly extracts the content of an input file of @a name.
*/
- void readInputFileDirect(const std::string& name, std::stringstream& str);
+ void readInputFileDirect(const std::string& name, std::ostream& str);
/**
* Replaces the input file @a name with the content of the given @a stream.
* The method returns the file name of the newly created project file.
diff --git a/src/Base/FileInfo.cpp b/src/Base/FileInfo.cpp
index ee70cb4f9a..526300f671 100644
--- a/src/Base/FileInfo.cpp
+++ b/src/Base/FileInfo.cpp
@@ -451,9 +451,26 @@ bool FileInfo::isDir() const
unsigned int FileInfo::size() const
{
- // not implemented
- assert(0);
- return 0;
+ unsigned int bytes {};
+ if (exists()) {
+
+#if defined(FC_OS_WIN32)
+ std::wstring wstr = toStdWString();
+ struct _stat st;
+ if (_wstat(wstr.c_str(), &st) == 0) {
+ bytes = st.st_size;
+ }
+
+#elif defined(FC_OS_LINUX) || defined(FC_OS_CYGWIN) || defined(FC_OS_MACOSX) || defined(FC_OS_BSD)
+ struct stat st
+ {
+ };
+ if (stat(FileName.c_str(), &st) == 0) {
+ bytes = st.st_size;
+ }
+#endif
+ }
+ return bytes;
}
TimeInfo FileInfo::lastModified() const
diff --git a/src/Gui/DlgExpressionInput.cpp b/src/Gui/DlgExpressionInput.cpp
index ff93a60adc..a2d8a7cf91 100644
--- a/src/Gui/DlgExpressionInput.cpp
+++ b/src/Gui/DlgExpressionInput.cpp
@@ -90,8 +90,6 @@ DlgExpressionInput::DlgExpressionInput(const App::ObjectIdentifier & _path,
#endif
setAttribute(Qt::WA_NoSystemBackground, true);
setAttribute(Qt::WA_TranslucentBackground, true);
-
- qApp->installEventFilter(this);
}
else {
ui->expression->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
@@ -109,7 +107,6 @@ DlgExpressionInput::DlgExpressionInput(const App::ObjectIdentifier & _path,
DlgExpressionInput::~DlgExpressionInput()
{
- qApp->removeEventFilter(this);
delete ui;
}
@@ -282,34 +279,5 @@ void DlgExpressionInput::show()
ui->expression->selectAll();
}
-void DlgExpressionInput::showEvent(QShowEvent* ev)
-{
- QDialog::showEvent(ev);
-}
-
-bool DlgExpressionInput::eventFilter(QObject *obj, QEvent *ev)
-{
- // if the user clicks on a widget different to this
- if (ev->type() == QEvent::MouseButtonPress && obj != this) {
- // Since the widget has a transparent background we cannot rely
- // on the size of the widget. Instead, it must be checked if the
- // cursor is on this or an underlying widget or outside.
- if (!underMouse()) {
- // if the expression fields context-menu is open do not close the dialog
- auto menu = qobject_cast(obj);
- if (menu && menu->parentWidget() == ui->expression) {
- return false;
- }
- bool on = ui->expression->completerActive();
- // Do this only if the completer is not shown
- if (!on) {
- qApp->removeEventFilter(this);
- reject();
- }
- }
- }
- return false;
-}
-
#include "moc_DlgExpressionInput.cpp"
diff --git a/src/Gui/DlgExpressionInput.h b/src/Gui/DlgExpressionInput.h
index 180cdf2000..8bad8ae59f 100644
--- a/src/Gui/DlgExpressionInput.h
+++ b/src/Gui/DlgExpressionInput.h
@@ -76,13 +76,10 @@ public:
QPoint expressionPosition() const;
void setExpressionInputSize(int width, int height);
- bool eventFilter(QObject *obj, QEvent *event) override;
-
public Q_SLOTS:
void show();
protected:
- void showEvent(QShowEvent*) override;
void mouseReleaseEvent(QMouseEvent*) override;
void mousePressEvent(QMouseEvent*) override;
diff --git a/src/Gui/DlgKeyboard.ui b/src/Gui/DlgKeyboard.ui
index 8ff9076675..2c0ba36062 100644
--- a/src/Gui/DlgKeyboard.ui
+++ b/src/Gui/DlgKeyboard.ui
@@ -134,7 +134,7 @@
- Multi-key sequence delay:
+ Multi-key sequence delay:
@@ -153,9 +153,9 @@
- Time in milliseconds to wait for the next key stroke of the current key sequence.
+ Time in milliseconds to wait for the next keystroke of the current key sequence.
For example, pressing 'F' twice in less than the time delay setting here will be
-be treated as shorctcut key sequence 'F, F'.
+treated as shortcut key sequence 'F, F'.
10000
diff --git a/src/Gui/DlgLocationPos.ui b/src/Gui/DlgLocationPos.ui
index d778fc2c59..e862a92455 100644
--- a/src/Gui/DlgLocationPos.ui
+++ b/src/Gui/DlgLocationPos.ui
@@ -159,7 +159,7 @@
-
- 5 m
+ 5 m
diff --git a/src/Gui/NotificationArea.cpp b/src/Gui/NotificationArea.cpp
index be26d1531d..8af4b471e8 100644
--- a/src/Gui/NotificationArea.cpp
+++ b/src/Gui/NotificationArea.cpp
@@ -1084,7 +1084,7 @@ bool NotificationArea::confirmationRequired(Base::LogStyle level)
void NotificationArea::showConfirmationDialog(const QString& notifiername, const QString& message)
{
- auto confirmMsg = QObject::tr("Notifier: ") + notifiername + QStringLiteral("\n\n") + message
+ auto confirmMsg = QObject::tr("Notifier:") + QStringLiteral(" ") + notifiername + QStringLiteral("\n\n") + message
+ QStringLiteral("\n\n")
+ QObject::tr("Do you want to skip confirmation of further critical message notifications "
"while loading the file?");
diff --git a/src/Gui/PreferencePages/DlgSettings3DView.ui b/src/Gui/PreferencePages/DlgSettings3DView.ui
index 91b6a33e3c..3a85779209 100644
--- a/src/Gui/PreferencePages/DlgSettings3DView.ui
+++ b/src/Gui/PreferencePages/DlgSettings3DView.ui
@@ -60,7 +60,7 @@ lower right corner within opened files
-
- Relative size :
+ Relative size:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
diff --git a/src/Gui/PreferencePages/DlgSettingsPythonConsole.ui b/src/Gui/PreferencePages/DlgSettingsPythonConsole.ui
index 79d2bacadd..a8a896bdfe 100644
--- a/src/Gui/PreferencePages/DlgSettingsPythonConsole.ui
+++ b/src/Gui/PreferencePages/DlgSettingsPythonConsole.ui
@@ -81,7 +81,7 @@ horizontal space in Python console
-
- Python profiler interval (milliseconds):
+ Python profiler interval (milliseconds):
diff --git a/src/Gui/QuantitySpinBox_p.h b/src/Gui/QuantitySpinBox_p.h
index 277c0e9f76..2c084b9d50 100644
--- a/src/Gui/QuantitySpinBox_p.h
+++ b/src/Gui/QuantitySpinBox_p.h
@@ -51,7 +51,7 @@ Q_SIGNALS:
private:
const QString genericExpressionEditorTooltip = tr("Enter an expression... (=)");
- const QString expressionEditorTooltipPrefix = tr("Expression: ");
+ const QString expressionEditorTooltipPrefix = tr("Expression:") + QLatin1String(" ");
};
#endif // QUANTITYSPINBOX_P_H
diff --git a/src/Gui/SoDatumLabel.cpp b/src/Gui/SoDatumLabel.cpp
index f5fad40ee5..20ac698084 100644
--- a/src/Gui/SoDatumLabel.cpp
+++ b/src/Gui/SoDatumLabel.cpp
@@ -565,7 +565,7 @@ void SoDatumLabel::generateDistancePrimitives(SoAction * action, const SbVec3f&
// Primitive Shape is only for text as this should only be selectable
SoPrimitiveVertex pv;
- this->beginShape(action, QUADS);
+ this->beginShape(action, TRIANGLE_STRIP);
pv.setNormal( SbVec3f(0.f, 0.f, 1.f) );
@@ -616,7 +616,7 @@ void SoDatumLabel::generateDiameterPrimitives(SoAction * action, const SbVec3f&
// Primitive Shape is only for text as this should only be selectable
SoPrimitiveVertex pv;
- this->beginShape(action, QUADS);
+ this->beginShape(action, TRIANGLE_STRIP);
pv.setNormal( SbVec3f(0.f, 0.f, 1.f) );
@@ -653,7 +653,7 @@ void SoDatumLabel::generateAnglePrimitives(SoAction * action, const SbVec3f& p0)
// Primitive Shape is only for text as this should only be selectable
SoPrimitiveVertex pv;
- this->beginShape(action, QUADS);
+ this->beginShape(action, TRIANGLE_STRIP);
pv.setNormal( SbVec3f(0.f, 0.f, 1.f) );
diff --git a/src/Gui/Tree.cpp b/src/Gui/Tree.cpp
index 0c07f2682b..5ef4331f5c 100644
--- a/src/Gui/Tree.cpp
+++ b/src/Gui/Tree.cpp
@@ -5356,38 +5356,37 @@ void DocumentObjectItem::testStatus(bool resetStatus, QIcon& icon1, QIcon& icon2
icon.addPixmap(pxOff, QIcon::Normal, QIcon::Off);
icon = object()->mergeColorfulOverlayIcons(icon);
+
+ if (isVisibilityIconEnabled()) {
+ static QPixmap pxVisible, pxInvisible;
+ if (pxVisible.isNull()) {
+ pxVisible = BitmapFactory().pixmap("TreeItemVisible");
+ }
+ if (pxInvisible.isNull()) {
+ pxInvisible = BitmapFactory().pixmap("TreeItemInvisible");
+ }
+
+ // Prepend the visibility pixmap to the final icon pixmaps and use these as the icon.
+ QIcon new_icon;
+ for (auto state: {QIcon::On, QIcon::Off}) {
+ QPixmap px_org = icon.pixmap(0xFFFF, 0xFFFF, QIcon::Normal, state);
+
+ QPixmap px(2*px_org.width(), px_org.height());
+ px.fill(Qt::transparent);
+
+ QPainter pt;
+ pt.begin(&px);
+ pt.setPen(Qt::NoPen);
+ pt.drawPixmap(0, 0, px_org.width(), px_org.height(), (currentStatus & 1) ? pxVisible : pxInvisible);
+ pt.drawPixmap(px_org.width(), 0, px_org.width(), px_org.height(), px_org);
+ pt.end();
+
+ new_icon.addPixmap(px, QIcon::Normal, state);
+ }
+ icon = new_icon;
+ }
}
- if (isVisibilityIconEnabled()) {
- static QPixmap pxVisible, pxInvisible;
- if (pxVisible.isNull()) {
- pxVisible = BitmapFactory().pixmap("TreeItemVisible");
- }
- if (pxInvisible.isNull()) {
- pxInvisible = BitmapFactory().pixmap("TreeItemInvisible");
- }
-
- // Prepend the visibility pixmap to the final icon pixmaps and use these as the icon.
- QIcon new_icon;
- for (auto state: {QIcon::On, QIcon::Off}) {
- QPixmap px_org = icon.pixmap(0xFFFF, 0xFFFF, QIcon::Normal, state);
-
- QPixmap px(2*px_org.width(), px_org.height());
- px.fill(Qt::transparent);
-
- QPainter pt;
- pt.begin(&px);
- pt.setPen(Qt::NoPen);
- pt.drawPixmap(0, 0, px_org.width(), px_org.height(), (currentStatus & 1) ? pxVisible : pxInvisible);
- pt.drawPixmap(px_org.width(), 0, px_org.width(), px_org.height(), px_org);
- pt.end();
-
- new_icon.addPixmap(px, QIcon::Normal, state);
- }
- icon = new_icon;
- }
-
-
_Timing(2, setIcon);
this->setIcon(0, icon);
}
diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp
index 75fce5640c..f95db67376 100644
--- a/src/Main/MainGui.cpp
+++ b/src/Main/MainGui.cpp
@@ -171,7 +171,7 @@ int main( int argc, char ** argv )
App::Application::Config()["SplashInfoColor" ] = "#8aadf4"; // light blue
App::Application::Config()["SplashInfoPosition" ] = "6,75";
- QGuiApplication::setDesktopFileName(QStringLiteral("org.freecad.FreeCAD.desktop"));
+ QGuiApplication::setDesktopFileName(QStringLiteral("org.freecad.FreeCAD"));
try {
// Init phase ===========================================================
diff --git a/src/Mod/AddonManager/Addon.py b/src/Mod/AddonManager/Addon.py
index e199b09962..fb33665760 100644
--- a/src/Mod/AddonManager/Addon.py
+++ b/src/Mod/AddonManager/Addon.py
@@ -56,7 +56,7 @@ INTERNAL_WORKBENCHES = {
"openscad": "OpenSCAD",
"part": "Part",
"partdesign": "PartDesign",
- "path": "Path",
+ "cam": "CAM",
"plot": "Plot",
"points": "Points",
"robot": "Robot",
diff --git a/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py b/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py
index 5f7c06c621..e3a20d33d4 100644
--- a/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py
+++ b/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py
@@ -217,7 +217,7 @@ class TestAddon(unittest.TestCase):
addonA.requires.add("AddonB")
addonB.requires.add("AddonC")
addonB.requires.add("AddonD")
- addonD.requires.add("Path")
+ addonD.requires.add("CAM")
all_addons = {
addonA.name: addonA,
@@ -244,8 +244,8 @@ class TestAddon(unittest.TestCase):
"AddonD not in required dependencies, and it should be.",
)
self.assertTrue(
- "Path" in deps.internal_workbenches,
- "Path not in workbench dependencies, and it should be.",
+ "CAM" in deps.internal_workbenches,
+ "CAM not in workbench dependencies, and it should be.",
)
def test_internal_workbench_list(self):
diff --git a/src/Mod/AddonManager/AddonManagerTest/data/depends_on_all_workbenches.xml b/src/Mod/AddonManager/AddonManagerTest/data/depends_on_all_workbenches.xml
index e0d22ca2ad..daa49424d8 100644
--- a/src/Mod/AddonManager/AddonManagerTest/data/depends_on_all_workbenches.xml
+++ b/src/Mod/AddonManager/AddonManagerTest/data/depends_on_all_workbenches.xml
@@ -21,7 +21,7 @@
OpenSCAD Workbench
Part WORKBENCH
PartDesign WB
- path
+ CAM
Plot
POINTS
ROBOTWB
diff --git a/src/Mod/AddonManager/Widgets/addonmanager_widget_readme_browser.py b/src/Mod/AddonManager/Widgets/addonmanager_widget_readme_browser.py
index 0677e6f305..ae452af344 100644
--- a/src/Mod/AddonManager/Widgets/addonmanager_widget_readme_browser.py
+++ b/src/Mod/AddonManager/Widgets/addonmanager_widget_readme_browser.py
@@ -20,6 +20,7 @@
# * . *
# * *
# ***************************************************************************
+import re
import FreeCAD
@@ -48,6 +49,7 @@ class WidgetReadmeBrowser(QtWidgets.QTextBrowser):
correctly."""
load_resource = QtCore.Signal(str) # Str is a URL to a resource
+ follow_link = QtCore.Signal(str) # Str is a URL to another page
def __init__(self, parent: QtWidgets.QWidget = None):
super().__init__(parent)
@@ -65,7 +67,8 @@ class WidgetReadmeBrowser(QtWidgets.QTextBrowser):
have native markdown support. Lacking that, plaintext is displayed."""
geometry = self.geometry()
if hasattr(super(), "setMarkdown"):
- super().setMarkdown(md)
+
+ super().setMarkdown(self._clean_markdown(md))
else:
try:
import markdown
@@ -79,6 +82,16 @@ class WidgetReadmeBrowser(QtWidgets.QTextBrowser):
)
self.setGeometry(geometry)
+ def _clean_markdown(self, md: str):
+ # Remove some HTML tags (for now just img and br, which are the most common offenders that break rendering)
+ br_re = re.compile(r"
")
+ img_re = re.compile(r"
]+)(?:'|\").*?\/?>")
+
+ cleaned = br_re.sub("\n", md)
+ cleaned = img_re.sub("[html tag removed]", cleaned)
+
+ return cleaned
+
def set_resource(self, resource_url: str, image: Optional[QtGui.QImage]):
"""Once a resource has been fetched (or the fetch has failed), this method should be used to inform the widget
that the resource has been loaded. Note that the incoming image is scaled to 97% of the widget width if it is
@@ -96,6 +109,12 @@ class WidgetReadmeBrowser(QtWidgets.QTextBrowser):
self.load_resource.emit(full_url)
self.image_map[full_url] = None
return self.image_map[full_url]
+ elif resource_type == QtGui.QTextDocument.MarkdownResource:
+ self.follow_link.emit(name.toString())
+ return self.toMarkdown()
+ elif resource_type == QtGui.QTextDocument.HtmlResource:
+ self.follow_link.emit(name.toString())
+ return self.toHtml()
return super().loadResource(resource_type, name)
def _ensure_appropriate_width(self, image: QtGui.QImage) -> QtGui.QImage:
diff --git a/src/Mod/AddonManager/addonmanager_installer_gui.py b/src/Mod/AddonManager/addonmanager_installer_gui.py
index 66d9a26086..6af6d2cfbd 100644
--- a/src/Mod/AddonManager/addonmanager_installer_gui.py
+++ b/src/Mod/AddonManager/addonmanager_installer_gui.py
@@ -364,9 +364,10 @@ class AddonInstallerGUI(QtCore.QObject):
translate("AddonsInstaller", "Cannot execute pip"),
translate(
"AddonsInstaller",
- "Failed to execute pip, which may be missing from your Python installation. Please ensure your system has pip installed and try again. The failed command was: ",
+ "Failed to execute pip, which may be missing from your Python installation. Please ensure your system "
+ "has pip installed and try again. The failed command was:",
)
- + f"\n\n{command}\n\n"
+ + f" \n\n{command}\n\n"
+ translate(
"AddonsInstaller",
"Continue with installation of {} anyway?",
diff --git a/src/Mod/AddonManager/addonmanager_package_details_controller.py b/src/Mod/AddonManager/addonmanager_package_details_controller.py
index 9c934039fb..09a6c7a76f 100644
--- a/src/Mod/AddonManager/addonmanager_package_details_controller.py
+++ b/src/Mod/AddonManager/addonmanager_package_details_controller.py
@@ -267,3 +267,6 @@ class PackageDetailsController(QtCore.QObject):
def display_repo_status(self, addon):
self.update_status.emit(self.addon)
self.show_repo(self.addon)
+
+ def macro_readme_updated(self):
+ self.show_repo(self.addon)
diff --git a/src/Mod/AddonManager/addonmanager_readme_controller.py b/src/Mod/AddonManager/addonmanager_readme_controller.py
index 1760a7ff6f..d699bc6156 100644
--- a/src/Mod/AddonManager/addonmanager_readme_controller.py
+++ b/src/Mod/AddonManager/addonmanager_readme_controller.py
@@ -63,6 +63,7 @@ class ReadmeController(QtCore.QObject):
self.stop = True
self.widget = widget
self.widget.load_resource.connect(self.loadResource)
+ self.widget.follow_link.connect(self.follow_link)
def set_addon(self, repo: Addon):
"""Set which Addon's information is displayed"""
@@ -74,6 +75,14 @@ class ReadmeController(QtCore.QObject):
self.url = self.addon.macro.wiki
if not self.url:
self.url = self.addon.macro.url
+ if not self.url:
+ self.widget.setText(
+ translate(
+ "AddonsInstaller",
+ "Loading info for {} from the FreeCAD Macro Recipes wiki...",
+ ).format(self.addon.display_name, self.url)
+ )
+ return
else:
self.url = utils.get_readme_url(repo)
self.widget.setUrl(self.url)
@@ -144,6 +153,16 @@ class ReadmeController(QtCore.QObject):
NetworkManager.AM_NETWORK_MANAGER.abort(request)
self.resource_requests.clear()
+ def follow_link(self, url: str) -> None:
+ final_url = url
+ if not url.startswith("http"):
+ if url.endswith(".md"):
+ final_url = self._create_markdown_url(url)
+ else:
+ final_url = self._create_full_url(url)
+ FreeCAD.Console.PrintLog(f"Loading {final_url} in the system browser")
+ QtGui.QDesktopServices.openUrl(final_url)
+
def _create_full_url(self, url: str) -> str:
if url.startswith("http"):
return url
@@ -152,6 +171,11 @@ class ReadmeController(QtCore.QObject):
lhs, slash, _ = self.url.rpartition("/")
return lhs + slash + url
+ def _create_markdown_url(self, file: str) -> str:
+ base_url = utils.get_readme_html_url(self.addon)
+ lhs, slash, _ = base_url.rpartition("/")
+ return lhs + slash + file
+
class WikiCleaner(HTMLParser):
"""This HTML parser cleans up FreeCAD Macro Wiki Page for display in a
diff --git a/src/Mod/AddonManager/addonmanager_uninstaller.py b/src/Mod/AddonManager/addonmanager_uninstaller.py
index 0c42f591dd..bf709f9172 100644
--- a/src/Mod/AddonManager/addonmanager_uninstaller.py
+++ b/src/Mod/AddonManager/addonmanager_uninstaller.py
@@ -244,8 +244,9 @@ class MacroUninstaller(QObject):
errors.append(
translate(
"AddonsInstaller",
- "Error while trying to remove macro file {}: ",
+ "Error while trying to remove macro file {}:",
).format(full_path)
+ + " "
+ str(e)
)
success = False
diff --git a/src/Mod/AddonManager/manage_python_dependencies.py b/src/Mod/AddonManager/manage_python_dependencies.py
index ccfceddb57..969b7d83c8 100644
--- a/src/Mod/AddonManager/manage_python_dependencies.py
+++ b/src/Mod/AddonManager/manage_python_dependencies.py
@@ -34,6 +34,8 @@ import sys
from functools import partial
from typing import Dict, List, Tuple
+import addonmanager_freecad_interface as fci
+
import FreeCAD
import FreeCADGui
from freecad.utils import get_python_exe
@@ -69,7 +71,7 @@ class CheckForPythonPackageUpdatesWorker(QtCore.QThread):
def check_for_python_package_updates() -> bool:
"""Returns True if any of the Python packages installed into the AdditionalPythonPackages
- directory have updates available, or False if the are all up-to-date."""
+ directory have updates available, or False if they are all up-to-date."""
vendor_path = os.path.join(FreeCAD.getUserAppDataDir(), "AdditionalPythonPackages")
package_counter = 0
@@ -163,7 +165,8 @@ class PythonPackageManager:
translate("AddonsInstaller", "New Python Version Detected"),
translate(
"AddonsInstaller",
- "This appears to be the first time this version of Python has been used with the Addon Manager. Would you like to install the same auto-installed dependencies for it?",
+ "This appears to be the first time this version of Python has been used with the Addon Manager. "
+ "Would you like to install the same auto-installed dependencies for it?",
),
QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No,
)
@@ -343,8 +346,13 @@ class PythonPackageManager:
QtCore.QCoreApplication.processEvents(QtCore.QEventLoop.AllEvents, 50)
try:
+ FreeCAD.Console.PrintLog(
+ f"Running 'pip install --upgrade --target {self.vendor_path} {package_name}'\n"
+ )
call_pip(["install", "--upgrade", package_name, "--target", self.vendor_path])
self._create_list_from_pip()
+ while self.worker_thread.isRunning():
+ QtCore.QCoreApplication.processEvents(QtCore.QEventLoop.AllEvents, 50)
except PipFailed as e:
FreeCAD.Console.PrintError(str(e) + "\n")
return
@@ -360,6 +368,7 @@ class PythonPackageManager:
):
updates.append(package_name)
+ FreeCAD.Console.PrintLog(f"Running update for {len(updates)} Python packages...\n")
for package_name in updates:
self._update_package(package_name)
diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py
index 7a1cf4a71d..db7358e59c 100644
--- a/src/Mod/Arch/ArchBuildingPart.py
+++ b/src/Mod/Arch/ArchBuildingPart.py
@@ -497,7 +497,7 @@ class BuildingPart(ArchIFC.IfcProduct):
FreeCAD.Console.PrintLog("Auto-updating Height of "+child.Name+"\n")
self.touchChildren(child)
child.Proxy.execute(child)
- elif Draft.getType(child) in ["Group","BuildingPart"]:
+ elif Draft.getType(child) in ["App::DocumentObjectGroup","Group","BuildingPart"]:
self.touchChildren(child)
diff --git a/src/Mod/Path/.flake8 b/src/Mod/CAM/.flake8
similarity index 100%
rename from src/Mod/Path/.flake8
rename to src/Mod/CAM/.flake8
diff --git a/src/Mod/Path/App/AppPath.cpp b/src/Mod/CAM/App/AppPath.cpp
similarity index 100%
rename from src/Mod/Path/App/AppPath.cpp
rename to src/Mod/CAM/App/AppPath.cpp
diff --git a/src/Mod/Path/App/AppPathPy.cpp b/src/Mod/CAM/App/AppPathPy.cpp
similarity index 100%
rename from src/Mod/Path/App/AppPathPy.cpp
rename to src/Mod/CAM/App/AppPathPy.cpp
diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/CAM/App/Area.cpp
similarity index 99%
rename from src/Mod/Path/App/Area.cpp
rename to src/Mod/CAM/App/Area.cpp
index 39fbc884af..291aef72e5 100644
--- a/src/Mod/Path/App/Area.cpp
+++ b/src/Mod/CAM/App/Area.cpp
@@ -75,8 +75,8 @@
#include
#include
#include
-#include
-#include
+#include
+#include
#include "Area.h"
diff --git a/src/Mod/Path/App/Area.h b/src/Mod/CAM/App/Area.h
similarity index 99%
rename from src/Mod/Path/App/Area.h
rename to src/Mod/CAM/App/Area.h
index e79a62577d..89c397d40e 100644
--- a/src/Mod/Path/App/Area.h
+++ b/src/Mod/CAM/App/Area.h
@@ -30,7 +30,7 @@
#include
-#include
+#include
#include
#include
diff --git a/src/Mod/Path/App/AreaParams.h b/src/Mod/CAM/App/AreaParams.h
similarity index 100%
rename from src/Mod/Path/App/AreaParams.h
rename to src/Mod/CAM/App/AreaParams.h
diff --git a/src/Mod/Path/App/AreaPy.xml b/src/Mod/CAM/App/AreaPy.xml
similarity index 99%
rename from src/Mod/Path/App/AreaPy.xml
rename to src/Mod/CAM/App/AreaPy.xml
index a38a84aec1..a237957a20 100644
--- a/src/Mod/Path/App/AreaPy.xml
+++ b/src/Mod/CAM/App/AreaPy.xml
@@ -5,7 +5,7 @@
Name="AreaPy"
Twin="Area"
TwinPointer="Area"
- Include="Mod/Path/App/Area.h"
+ Include="Mod/CAM/App/Area.h"
Namespace="Path"
FatherInclude="Base/BaseClassPy.h"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/AreaPyImp.cpp b/src/Mod/CAM/App/AreaPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/AreaPyImp.cpp
rename to src/Mod/CAM/App/AreaPyImp.cpp
diff --git a/src/Mod/Path/App/CMakeLists.txt b/src/Mod/CAM/App/CMakeLists.txt
similarity index 99%
rename from src/Mod/Path/App/CMakeLists.txt
rename to src/Mod/CAM/App/CMakeLists.txt
index e26fbab6a6..84c6dcd232 100644
--- a/src/Mod/Path/App/CMakeLists.txt
+++ b/src/Mod/CAM/App/CMakeLists.txt
@@ -142,7 +142,7 @@ if(FREECAD_USE_PCH)
ADD_MSVC_PRECOMPILED_HEADER(Path PreCompiled.h PreCompiled.cpp Path_CPP_SRCS)
endif(FREECAD_USE_PCH)
-SET_BIN_DIR(Path PathApp /Mod/Path)
+SET_BIN_DIR(Path PathApp /Mod/CAM)
SET_PYTHON_PREFIX_SUFFIX(Path)
INSTALL(TARGETS Path DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/src/Mod/Path/App/Command.cpp b/src/Mod/CAM/App/Command.cpp
similarity index 100%
rename from src/Mod/Path/App/Command.cpp
rename to src/Mod/CAM/App/Command.cpp
diff --git a/src/Mod/Path/App/Command.h b/src/Mod/CAM/App/Command.h
similarity index 99%
rename from src/Mod/Path/App/Command.h
rename to src/Mod/CAM/App/Command.h
index bbd1301657..28cc449e3d 100644
--- a/src/Mod/Path/App/Command.h
+++ b/src/Mod/CAM/App/Command.h
@@ -29,7 +29,7 @@
#include
#include
#include
-#include
+#include
namespace Path
{
diff --git a/src/Mod/Path/App/CommandPy.xml b/src/Mod/CAM/App/CommandPy.xml
similarity index 98%
rename from src/Mod/Path/App/CommandPy.xml
rename to src/Mod/CAM/App/CommandPy.xml
index 01da6a0587..e0500ec9b0 100644
--- a/src/Mod/Path/App/CommandPy.xml
+++ b/src/Mod/CAM/App/CommandPy.xml
@@ -5,7 +5,7 @@
Name="CommandPy"
Twin="Command"
TwinPointer="Command"
- Include="Mod/Path/App/Command.h"
+ Include="Mod/CAM/App/Command.h"
Namespace="Path"
FatherInclude="Base/PersistencePy.h"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/CommandPyImp.cpp b/src/Mod/CAM/App/CommandPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/CommandPyImp.cpp
rename to src/Mod/CAM/App/CommandPyImp.cpp
diff --git a/src/Mod/Path/App/FeatureArea.cpp b/src/Mod/CAM/App/FeatureArea.cpp
similarity index 100%
rename from src/Mod/Path/App/FeatureArea.cpp
rename to src/Mod/CAM/App/FeatureArea.cpp
diff --git a/src/Mod/Path/App/FeatureArea.h b/src/Mod/CAM/App/FeatureArea.h
similarity index 100%
rename from src/Mod/Path/App/FeatureArea.h
rename to src/Mod/CAM/App/FeatureArea.h
diff --git a/src/Mod/Path/App/FeatureAreaPy.xml b/src/Mod/CAM/App/FeatureAreaPy.xml
similarity index 97%
rename from src/Mod/Path/App/FeatureAreaPy.xml
rename to src/Mod/CAM/App/FeatureAreaPy.xml
index fda7b500d0..c167df2b4f 100644
--- a/src/Mod/Path/App/FeatureAreaPy.xml
+++ b/src/Mod/CAM/App/FeatureAreaPy.xml
@@ -5,7 +5,7 @@
Name="FeatureAreaPy"
Twin="FeatureArea"
TwinPointer="FeatureArea"
- Include="Mod/Path/App/FeatureArea.h"
+ Include="Mod/CAM/App/FeatureArea.h"
Namespace="Path"
FatherInclude="App/DocumentObjectPy.h"
FatherNamespace="App">
diff --git a/src/Mod/Path/App/FeatureAreaPyImp.cpp b/src/Mod/CAM/App/FeatureAreaPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/FeatureAreaPyImp.cpp
rename to src/Mod/CAM/App/FeatureAreaPyImp.cpp
diff --git a/src/Mod/Path/App/FeaturePath.cpp b/src/Mod/CAM/App/FeaturePath.cpp
similarity index 100%
rename from src/Mod/Path/App/FeaturePath.cpp
rename to src/Mod/CAM/App/FeaturePath.cpp
diff --git a/src/Mod/Path/App/FeaturePath.h b/src/Mod/CAM/App/FeaturePath.h
similarity index 100%
rename from src/Mod/Path/App/FeaturePath.h
rename to src/Mod/CAM/App/FeaturePath.h
diff --git a/src/Mod/Path/App/FeaturePathCompound.cpp b/src/Mod/CAM/App/FeaturePathCompound.cpp
similarity index 100%
rename from src/Mod/Path/App/FeaturePathCompound.cpp
rename to src/Mod/CAM/App/FeaturePathCompound.cpp
diff --git a/src/Mod/Path/App/FeaturePathCompound.h b/src/Mod/CAM/App/FeaturePathCompound.h
similarity index 100%
rename from src/Mod/Path/App/FeaturePathCompound.h
rename to src/Mod/CAM/App/FeaturePathCompound.h
diff --git a/src/Mod/Path/App/FeaturePathCompoundPy.xml b/src/Mod/CAM/App/FeaturePathCompoundPy.xml
similarity index 95%
rename from src/Mod/Path/App/FeaturePathCompoundPy.xml
rename to src/Mod/CAM/App/FeaturePathCompoundPy.xml
index 180b707ee2..886c471f8e 100644
--- a/src/Mod/Path/App/FeaturePathCompoundPy.xml
+++ b/src/Mod/CAM/App/FeaturePathCompoundPy.xml
@@ -5,7 +5,7 @@
Name="FeaturePathCompoundPy"
Twin="FeaturePathCompound"
TwinPointer="FeatureCompound"
- Include="Mod/Path/App/FeaturePathCompound.h"
+ Include="Mod/CAM/App/FeaturePathCompound.h"
Namespace="Path"
FatherInclude="App/DocumentObjectPy.h"
FatherNamespace="App">
diff --git a/src/Mod/Path/App/FeaturePathCompoundPyImp.cpp b/src/Mod/CAM/App/FeaturePathCompoundPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/FeaturePathCompoundPyImp.cpp
rename to src/Mod/CAM/App/FeaturePathCompoundPyImp.cpp
diff --git a/src/Mod/Path/App/FeaturePathShape.cpp b/src/Mod/CAM/App/FeaturePathShape.cpp
similarity index 100%
rename from src/Mod/Path/App/FeaturePathShape.cpp
rename to src/Mod/CAM/App/FeaturePathShape.cpp
diff --git a/src/Mod/Path/App/FeaturePathShape.h b/src/Mod/CAM/App/FeaturePathShape.h
similarity index 100%
rename from src/Mod/Path/App/FeaturePathShape.h
rename to src/Mod/CAM/App/FeaturePathShape.h
diff --git a/src/Mod/Path/App/ParamsHelper.h b/src/Mod/CAM/App/ParamsHelper.h
similarity index 99%
rename from src/Mod/Path/App/ParamsHelper.h
rename to src/Mod/CAM/App/ParamsHelper.h
index df49eb5d03..c479817531 100644
--- a/src/Mod/Path/App/ParamsHelper.h
+++ b/src/Mod/CAM/App/ParamsHelper.h
@@ -50,15 +50,15 @@
* double check your macro definition of the parameter is correctly, not missing
* or having extra parenthesis or comma. Then, you can use the CMake
* intermediate file target to get the preprocessor output for checking. For
- * example, for a file located at \c src/Mod/Path/App/Area.cpp,
+ * example, for a file located at \c src/Mod/CAM/App/Area.cpp,
* \code{.sh}
- * cd /src/Mod/Path/App
+ * cd /src/Mod/CAM/App
* make Area.cpp.i
* \endcode
*
* The preprocessed intermediate output will be at,
* \code{.sh}
- * /src/Mod/Path/App.CMakeFiles/Path.dir/Area.cpp.i
+ * /src/Mod/CAM/App.CMakeFiles/Path.dir/Area.cpp.i
* \endcode
*
* \section Introduction of Boost.Preprocessor
diff --git a/src/Mod/Path/App/Path.cpp b/src/Mod/CAM/App/Path.cpp
similarity index 99%
rename from src/Mod/Path/App/Path.cpp
rename to src/Mod/CAM/App/Path.cpp
index 52cfab2bc2..cb61089bc6 100644
--- a/src/Mod/Path/App/Path.cpp
+++ b/src/Mod/CAM/App/Path.cpp
@@ -27,7 +27,7 @@
#include
#include
#include
-#include
+#include
#include "Path.h"
@@ -141,7 +141,7 @@ double Toolpath::getCycleTime(double hFeed, double vFeed, double hRapid, double
{
// check the feedrates are set
if ((hFeed == 0) || (vFeed == 0)) {
- ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Path");
+ ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/CAM");
if (!hGrp->GetBool("WarningsSuppressAllSpeeds", true)) {
Base::Console().Warning("Feed Rate Error: Check Tool Controllers have Feed Rates");
}
diff --git a/src/Mod/Path/App/Path.h b/src/Mod/CAM/App/Path.h
similarity index 100%
rename from src/Mod/Path/App/Path.h
rename to src/Mod/CAM/App/Path.h
diff --git a/src/Mod/Path/App/PathPy.xml b/src/Mod/CAM/App/PathPy.xml
similarity index 99%
rename from src/Mod/Path/App/PathPy.xml
rename to src/Mod/CAM/App/PathPy.xml
index 7a9f8ed42b..d0d6dac98c 100644
--- a/src/Mod/Path/App/PathPy.xml
+++ b/src/Mod/CAM/App/PathPy.xml
@@ -5,7 +5,7 @@
Name="PathPy"
Twin="Toolpath"
TwinPointer="Toolpath"
- Include="Mod/Path/App/Path.h"
+ Include="Mod/CAM/App/Path.h"
Namespace="Path"
FatherInclude="Base/PersistencePy.h"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/PathPyImp.cpp b/src/Mod/CAM/App/PathPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/PathPyImp.cpp
rename to src/Mod/CAM/App/PathPyImp.cpp
diff --git a/src/Mod/Path/App/PathSegmentWalker.cpp b/src/Mod/CAM/App/PathSegmentWalker.cpp
similarity index 100%
rename from src/Mod/Path/App/PathSegmentWalker.cpp
rename to src/Mod/CAM/App/PathSegmentWalker.cpp
diff --git a/src/Mod/Path/App/PathSegmentWalker.h b/src/Mod/CAM/App/PathSegmentWalker.h
similarity index 100%
rename from src/Mod/Path/App/PathSegmentWalker.h
rename to src/Mod/CAM/App/PathSegmentWalker.h
diff --git a/src/Mod/Path/App/PreCompiled.cpp b/src/Mod/CAM/App/PreCompiled.cpp
similarity index 100%
rename from src/Mod/Path/App/PreCompiled.cpp
rename to src/Mod/CAM/App/PreCompiled.cpp
diff --git a/src/Mod/Path/App/PreCompiled.h b/src/Mod/CAM/App/PreCompiled.h
similarity index 100%
rename from src/Mod/Path/App/PreCompiled.h
rename to src/Mod/CAM/App/PreCompiled.h
diff --git a/src/Mod/Path/App/PropertyPath.cpp b/src/Mod/CAM/App/PropertyPath.cpp
similarity index 100%
rename from src/Mod/Path/App/PropertyPath.cpp
rename to src/Mod/CAM/App/PropertyPath.cpp
diff --git a/src/Mod/Path/App/PropertyPath.h b/src/Mod/CAM/App/PropertyPath.h
similarity index 100%
rename from src/Mod/Path/App/PropertyPath.h
rename to src/Mod/CAM/App/PropertyPath.h
diff --git a/src/Mod/Path/App/Voronoi.cpp b/src/Mod/CAM/App/Voronoi.cpp
similarity index 100%
rename from src/Mod/Path/App/Voronoi.cpp
rename to src/Mod/CAM/App/Voronoi.cpp
diff --git a/src/Mod/Path/App/Voronoi.h b/src/Mod/CAM/App/Voronoi.h
similarity index 99%
rename from src/Mod/Path/App/Voronoi.h
rename to src/Mod/CAM/App/Voronoi.h
index 48d0fa9578..84136175ea 100644
--- a/src/Mod/Path/App/Voronoi.h
+++ b/src/Mod/CAM/App/Voronoi.h
@@ -28,7 +28,7 @@
#include
#include
#include
-#include
+#include
#include
#include
diff --git a/src/Mod/Path/App/VoronoiCell.cpp b/src/Mod/CAM/App/VoronoiCell.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiCell.cpp
rename to src/Mod/CAM/App/VoronoiCell.cpp
diff --git a/src/Mod/Path/App/VoronoiCell.h b/src/Mod/CAM/App/VoronoiCell.h
similarity index 100%
rename from src/Mod/Path/App/VoronoiCell.h
rename to src/Mod/CAM/App/VoronoiCell.h
diff --git a/src/Mod/Path/App/VoronoiCellPy.xml b/src/Mod/CAM/App/VoronoiCellPy.xml
similarity index 98%
rename from src/Mod/Path/App/VoronoiCellPy.xml
rename to src/Mod/CAM/App/VoronoiCellPy.xml
index 1d439da46a..71c5df4b30 100644
--- a/src/Mod/Path/App/VoronoiCellPy.xml
+++ b/src/Mod/CAM/App/VoronoiCellPy.xml
@@ -6,7 +6,7 @@
PythonName="Path.Voronoi.Cell"
Twin="VoronoiCell"
TwinPointer="VoronoiCell"
- Include="Mod/Path/App/VoronoiCell.h"
+ Include="Mod/CAM/App/VoronoiCell.h"
FatherInclude="Base/BaseClassPy.h"
Namespace="Path"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/VoronoiCellPyImp.cpp b/src/Mod/CAM/App/VoronoiCellPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiCellPyImp.cpp
rename to src/Mod/CAM/App/VoronoiCellPyImp.cpp
diff --git a/src/Mod/Path/App/VoronoiEdge.cpp b/src/Mod/CAM/App/VoronoiEdge.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiEdge.cpp
rename to src/Mod/CAM/App/VoronoiEdge.cpp
diff --git a/src/Mod/Path/App/VoronoiEdge.h b/src/Mod/CAM/App/VoronoiEdge.h
similarity index 100%
rename from src/Mod/Path/App/VoronoiEdge.h
rename to src/Mod/CAM/App/VoronoiEdge.h
diff --git a/src/Mod/Path/App/VoronoiEdgePy.xml b/src/Mod/CAM/App/VoronoiEdgePy.xml
similarity index 99%
rename from src/Mod/Path/App/VoronoiEdgePy.xml
rename to src/Mod/CAM/App/VoronoiEdgePy.xml
index 5d92739411..a554957cc2 100644
--- a/src/Mod/Path/App/VoronoiEdgePy.xml
+++ b/src/Mod/CAM/App/VoronoiEdgePy.xml
@@ -6,7 +6,7 @@
PythonName="Path.Voronoi.Edge"
Twin="VoronoiEdge"
TwinPointer="VoronoiEdge"
- Include="Mod/Path/App/VoronoiEdge.h"
+ Include="Mod/CAM/App/VoronoiEdge.h"
FatherInclude="Base/BaseClassPy.h"
Namespace="Path"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/VoronoiEdgePyImp.cpp b/src/Mod/CAM/App/VoronoiEdgePyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiEdgePyImp.cpp
rename to src/Mod/CAM/App/VoronoiEdgePyImp.cpp
diff --git a/src/Mod/Path/App/VoronoiPy.xml b/src/Mod/CAM/App/VoronoiPy.xml
similarity index 99%
rename from src/Mod/Path/App/VoronoiPy.xml
rename to src/Mod/CAM/App/VoronoiPy.xml
index bf170fad18..c54b4cccd0 100644
--- a/src/Mod/Path/App/VoronoiPy.xml
+++ b/src/Mod/CAM/App/VoronoiPy.xml
@@ -6,7 +6,7 @@
PythonName="Path.Voronoi.Diagram"
Twin="Voronoi"
TwinPointer="Voronoi"
- Include="Mod/Path/App/Voronoi.h"
+ Include="Mod/CAM/App/Voronoi.h"
Namespace="Path"
FatherInclude="Base/BaseClassPy.h"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/VoronoiPyImp.cpp b/src/Mod/CAM/App/VoronoiPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiPyImp.cpp
rename to src/Mod/CAM/App/VoronoiPyImp.cpp
diff --git a/src/Mod/Path/App/VoronoiVertex.cpp b/src/Mod/CAM/App/VoronoiVertex.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiVertex.cpp
rename to src/Mod/CAM/App/VoronoiVertex.cpp
diff --git a/src/Mod/Path/App/VoronoiVertex.h b/src/Mod/CAM/App/VoronoiVertex.h
similarity index 100%
rename from src/Mod/Path/App/VoronoiVertex.h
rename to src/Mod/CAM/App/VoronoiVertex.h
diff --git a/src/Mod/Path/App/VoronoiVertexPy.xml b/src/Mod/CAM/App/VoronoiVertexPy.xml
similarity index 97%
rename from src/Mod/Path/App/VoronoiVertexPy.xml
rename to src/Mod/CAM/App/VoronoiVertexPy.xml
index dc049bf0dd..a04cba6e1b 100644
--- a/src/Mod/Path/App/VoronoiVertexPy.xml
+++ b/src/Mod/CAM/App/VoronoiVertexPy.xml
@@ -6,7 +6,7 @@
PythonName="Path.Voronoi.Vertex"
Twin="VoronoiVertex"
TwinPointer="VoronoiVertex"
- Include="Mod/Path/App/VoronoiVertex.h"
+ Include="Mod/CAM/App/VoronoiVertex.h"
FatherInclude="Base/BaseClassPy.h"
Namespace="Path"
FatherNamespace="Base"
diff --git a/src/Mod/Path/App/VoronoiVertexPyImp.cpp b/src/Mod/CAM/App/VoronoiVertexPyImp.cpp
similarity index 100%
rename from src/Mod/Path/App/VoronoiVertexPyImp.cpp
rename to src/Mod/CAM/App/VoronoiVertexPyImp.cpp
diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/CAM/CMakeLists.txt
similarity index 75%
rename from src/Mod/Path/CMakeLists.txt
rename to src/Mod/CAM/CMakeLists.txt
index 89c3e736de..f60574ded5 100644
--- a/src/Mod/Path/CMakeLists.txt
+++ b/src/Mod/CAM/CMakeLists.txt
@@ -9,7 +9,7 @@ endif(BUILD_GUI)
set(Path_Scripts
Init.py
PathCommands.py
- TestPathApp.py
+ TestCAMApp.py
)
if(BUILD_GUI)
@@ -20,7 +20,7 @@ INSTALL(
FILES
${Path_Scripts}
DESTINATION
- Mod/Path
+ Mod/CAM
)
SET(PathPython_SRCS
@@ -206,7 +206,6 @@ SET(PathPythonOpGui_SRCS
Path/Op/Gui/Engrave.py
Path/Op/Gui/FeatureExtension.py
Path/Op/Gui/Helix.py
- Path/Op/Gui/Hop.py
Path/Op/Gui/MillFace.py
Path/Op/Gui/Pocket.py
Path/Op/Gui/PocketBase.py
@@ -277,65 +276,65 @@ SET(Tools_Shape_SRCS
Tools/Shape/v-bit.fcstd
)
-SET(PathTests_SRCS
- PathTests/__init__.py
- PathTests/boxtest.fcstd
- PathTests/boxtest1.fcstd
- PathTests/Drilling_1.FCStd
- PathTests/drill_test1.FCStd
- PathTests/PathTestUtils.py
- PathTests/test_adaptive.fcstd
- PathTests/test_profile.fcstd
- PathTests/test_centroid_00.ngc
- PathTests/test_filenaming.fcstd
- PathTests/test_geomop.fcstd
- PathTests/test_holes00.fcstd
- PathTests/TestCentroidPost.py
- PathTests/TestGrblPost.py
- PathTests/TestLinuxCNCPost.py
- PathTests/TestMach3Mach4Post.py
- PathTests/TestPathAdaptive.py
- PathTests/TestPathCore.py
- PathTests/TestPathDepthParams.py
- PathTests/TestPathDressupDogbone.py
- PathTests/TestPathDressupDogboneII.py
- PathTests/TestPathDressupHoldingTags.py
- PathTests/TestPathDrillGenerator.py
- PathTests/TestPathDrillable.py
- PathTests/TestPathGeneratorDogboneII.py
- PathTests/TestPathGeom.py
- PathTests/TestPathHelix.py
- PathTests/TestPathHelpers.py
- PathTests/TestPathHelixGenerator.py
- PathTests/TestPathLanguage.py
- PathTests/TestPathLog.py
- PathTests/TestPathOpDeburr.py
- PathTests/TestPathOpUtil.py
- PathTests/TestPathPost.py
- PathTests/TestPathPreferences.py
- PathTests/TestPathProfile.py
- PathTests/TestPathPropertyBag.py
- PathTests/TestPathRotationGenerator.py
- PathTests/TestPathSetupSheet.py
- PathTests/TestPathStock.py
- PathTests/TestPathToolChangeGenerator.py
- PathTests/TestPathThreadMilling.py
- PathTests/TestPathThreadMillingGenerator.py
- PathTests/TestPathToolBit.py
- PathTests/TestPathToolController.py
- PathTests/TestPathUtil.py
- PathTests/TestPathVcarve.py
- PathTests/TestPathVoronoi.py
- PathTests/TestRefactoredCentroidPost.py
- PathTests/TestRefactoredGrblPost.py
- PathTests/TestRefactoredLinuxCNCPost.py
- PathTests/TestRefactoredMach3Mach4Post.py
- PathTests/TestRefactoredTestPost.py
- PathTests/TestRefactoredTestPostGCodes.py
- PathTests/TestRefactoredTestPostMCodes.py
- PathTests/Tools/Bit/test-path-tool-bit-bit-00.fctb
- PathTests/Tools/Library/test-path-tool-bit-library-00.fctl
- PathTests/Tools/Shape/test-path-tool-bit-shape-00.fcstd
+SET(Tests_SRCS
+ Tests/__init__.py
+ Tests/boxtest.fcstd
+ Tests/boxtest1.fcstd
+ Tests/Drilling_1.FCStd
+ Tests/drill_test1.FCStd
+ Tests/PathTestUtils.py
+ Tests/test_adaptive.fcstd
+ Tests/test_profile.fcstd
+ Tests/test_centroid_00.ngc
+ Tests/test_filenaming.fcstd
+ Tests/test_geomop.fcstd
+ Tests/test_holes00.fcstd
+ Tests/TestCentroidPost.py
+ Tests/TestGrblPost.py
+ Tests/TestLinuxCNCPost.py
+ Tests/TestMach3Mach4Post.py
+ Tests/TestPathAdaptive.py
+ Tests/TestPathCore.py
+ Tests/TestPathDepthParams.py
+ Tests/TestPathDressupDogbone.py
+ Tests/TestPathDressupDogboneII.py
+ Tests/TestPathDressupHoldingTags.py
+ Tests/TestPathDrillGenerator.py
+ Tests/TestPathDrillable.py
+ Tests/TestPathGeneratorDogboneII.py
+ Tests/TestPathGeom.py
+ Tests/TestPathHelix.py
+ Tests/TestPathHelpers.py
+ Tests/TestPathHelixGenerator.py
+ Tests/TestPathLanguage.py
+ Tests/TestPathLog.py
+ Tests/TestPathOpDeburr.py
+ Tests/TestPathOpUtil.py
+ Tests/TestPathPost.py
+ Tests/TestPathPreferences.py
+ Tests/TestPathProfile.py
+ Tests/TestPathPropertyBag.py
+ Tests/TestPathRotationGenerator.py
+ Tests/TestPathSetupSheet.py
+ Tests/TestPathStock.py
+ Tests/TestPathToolChangeGenerator.py
+ Tests/TestPathThreadMilling.py
+ Tests/TestPathThreadMillingGenerator.py
+ Tests/TestPathToolBit.py
+ Tests/TestPathToolController.py
+ Tests/TestPathUtil.py
+ Tests/TestPathVcarve.py
+ Tests/TestPathVoronoi.py
+ Tests/TestRefactoredCentroidPost.py
+ Tests/TestRefactoredGrblPost.py
+ Tests/TestRefactoredLinuxCNCPost.py
+ Tests/TestRefactoredMach3Mach4Post.py
+ Tests/TestRefactoredTestPost.py
+ Tests/TestRefactoredTestPostGCodes.py
+ Tests/TestRefactoredTestPostMCodes.py
+ Tests/Tools/Bit/test-path-tool-bit-bit-00.fctb
+ Tests/Tools/Library/test-path-tool-bit-library-00.fctl
+ Tests/Tools/Shape/test-path-tool-bit-shape-00.fcstd
)
SET(PathImages_Ops
@@ -398,131 +397,131 @@ ADD_CUSTOM_TARGET(PathScripts ALL
SET(test_files
${Path_Scripts}
- ${PathTests_SRCS}
+ ${Tests_SRCS}
)
-ADD_CUSTOM_TARGET(PathTests ALL
+ADD_CUSTOM_TARGET(Tests ALL
SOURCES ${test_files}
)
-fc_copy_sources(PathScripts "${CMAKE_BINARY_DIR}/Mod/Path" ${all_files})
-fc_copy_sources(PathTests "${CMAKE_BINARY_DIR}/Mod/Path" ${test_files})
+fc_copy_sources(PathScripts "${CMAKE_BINARY_DIR}/Mod/CAM" ${all_files})
+fc_copy_sources(Tests "${CMAKE_BINARY_DIR}/Mod/CAM" ${test_files})
INSTALL(
FILES
${PathScripts_SRCS}
DESTINATION
- Mod/Path/PathScripts
+ Mod/CAM/PathScripts
)
INSTALL(
FILES
${PathPython_SRCS}
DESTINATION
- Mod/Path/Path
+ Mod/CAM/Path
)
INSTALL(
FILES
${PathPythonBase_SRCS}
DESTINATION
- Mod/Path/Path/Base
+ Mod/CAM/Path/Base
)
INSTALL(
FILES
${PathPythonBaseGenerator_SRCS}
DESTINATION
- Mod/Path/Path/Base/Generator
+ Mod/CAM/Path/Base/Generator
)
INSTALL(
FILES
${PathPythonBaseGui_SRCS}
DESTINATION
- Mod/Path/Path/Base/Gui
+ Mod/CAM/Path/Base/Gui
)
INSTALL(
FILES
${PathPythonDressup_SRCS}
DESTINATION
- Mod/Path/Path/Dressup
+ Mod/CAM/Path/Dressup
)
INSTALL(
FILES
${PathPythonDressupGui_SRCS}
DESTINATION
- Mod/Path/Path/Dressup/Gui
+ Mod/CAM/Path/Dressup/Gui
)
INSTALL(
FILES
${PathPythonMain_SRCS}
DESTINATION
- Mod/Path/Path/Main
+ Mod/CAM/Path/Main
)
INSTALL(
FILES
${PathPythonMainGui_SRCS}
DESTINATION
- Mod/Path/Path/Main/Gui
+ Mod/CAM/Path/Main/Gui
)
INSTALL(
FILES
${PathPythonOp_SRCS}
DESTINATION
- Mod/Path/Path/Op
+ Mod/CAM/Path/Op
)
INSTALL(
FILES
${PathPythonOpGui_SRCS}
DESTINATION
- Mod/Path/Path/Op/Gui
+ Mod/CAM/Path/Op/Gui
)
INSTALL(
FILES
${PathPythonPost_SRCS}
DESTINATION
- Mod/Path/Path/Post
+ Mod/CAM/Path/Post
)
INSTALL(
FILES
${PathPythonPostScripts_SRCS}
DESTINATION
- Mod/Path/Path/Post/scripts
+ Mod/CAM/Path/Post/scripts
)
INSTALL(
FILES
${PathPythonTools_SRCS}
DESTINATION
- Mod/Path/Path/Tool
+ Mod/CAM/Path/Tool
)
INSTALL(
FILES
${PathPythonToolsGui_SRCS}
DESTINATION
- Mod/Path/Path/Tool/Gui
+ Mod/CAM/Path/Tool/Gui
)
INSTALL(
FILES
- ${PathTests_SRCS}
+ ${Tests_SRCS}
DESTINATION
- Mod/Path/PathTests
+ Mod/CAM/Tests
)
INSTALL(
DIRECTORY
- PathTests/Tools
+ Tests/Tools
DESTINATION
- Mod/Path/PathTests
+ Mod/CAM/Tests
)
@@ -530,54 +529,54 @@ INSTALL(
FILES
${PathPythonGui_SRCS}
DESTINATION
- Mod/Path/PathPythonGui
+ Mod/CAM/PathPythonGui
)
INSTALL(
FILES
${Tools_SRCS}
DESTINATION
- Mod/Path/Tools
+ Mod/CAM/Tools
)
INSTALL(
FILES
${Tools_Bit_SRCS}
DESTINATION
- Mod/Path/Tools/Bit
+ Mod/CAM/Tools/Bit
)
INSTALL(
FILES
${Tools_Library_SRCS}
DESTINATION
- Mod/Path/Tools/Library
+ Mod/CAM/Tools/Library
)
INSTALL(
FILES
${Tools_Shape_SRCS}
DESTINATION
- Mod/Path/Tools/Shape
+ Mod/CAM/Tools/Shape
)
INSTALL(
FILES
${PathImages_Ops}
DESTINATION
- Mod/Path/Images/Ops
+ Mod/CAM/Images/Ops
)
INSTALL(
FILES
${PathImages_Tools}
DESTINATION
- Mod/Path/Images/Tools
+ Mod/CAM/Images/Tools
)
INSTALL(
FILES
${PathData_Threads}
DESTINATION
- Mod/Path/Data/Threads
+ Mod/CAM/Data/Threads
)
diff --git a/src/Mod/Path/Data/Threads/imperial-external-2A.csv b/src/Mod/CAM/Data/Threads/imperial-external-2A.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/imperial-external-2A.csv
rename to src/Mod/CAM/Data/Threads/imperial-external-2A.csv
diff --git a/src/Mod/Path/Data/Threads/imperial-external-3A.csv b/src/Mod/CAM/Data/Threads/imperial-external-3A.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/imperial-external-3A.csv
rename to src/Mod/CAM/Data/Threads/imperial-external-3A.csv
diff --git a/src/Mod/Path/Data/Threads/imperial-internal-2B.csv b/src/Mod/CAM/Data/Threads/imperial-internal-2B.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/imperial-internal-2B.csv
rename to src/Mod/CAM/Data/Threads/imperial-internal-2B.csv
diff --git a/src/Mod/Path/Data/Threads/imperial-internal-3B.csv b/src/Mod/CAM/Data/Threads/imperial-internal-3B.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/imperial-internal-3B.csv
rename to src/Mod/CAM/Data/Threads/imperial-internal-3B.csv
diff --git a/src/Mod/Path/Data/Threads/metric-external-4G6G.csv b/src/Mod/CAM/Data/Threads/metric-external-4G6G.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/metric-external-4G6G.csv
rename to src/Mod/CAM/Data/Threads/metric-external-4G6G.csv
diff --git a/src/Mod/Path/Data/Threads/metric-external-6G.csv b/src/Mod/CAM/Data/Threads/metric-external-6G.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/metric-external-6G.csv
rename to src/Mod/CAM/Data/Threads/metric-external-6G.csv
diff --git a/src/Mod/Path/Data/Threads/metric-internal-6H.csv b/src/Mod/CAM/Data/Threads/metric-internal-6H.csv
similarity index 100%
rename from src/Mod/Path/Data/Threads/metric-internal-6H.csv
rename to src/Mod/CAM/Data/Threads/metric-internal-6H.csv
diff --git a/src/Mod/Path/Data/Threads/sources.txt b/src/Mod/CAM/Data/Threads/sources.txt
similarity index 100%
rename from src/Mod/Path/Data/Threads/sources.txt
rename to src/Mod/CAM/Data/Threads/sources.txt
diff --git a/src/Mod/Path/DemoParts/hole_puzzle.fcstd b/src/Mod/CAM/DemoParts/hole_puzzle.fcstd
similarity index 100%
rename from src/Mod/Path/DemoParts/hole_puzzle.fcstd
rename to src/Mod/CAM/DemoParts/hole_puzzle.fcstd
diff --git a/src/Mod/Path/DemoParts/motor_mount_inch.fcstd b/src/Mod/CAM/DemoParts/motor_mount_inch.fcstd
similarity index 100%
rename from src/Mod/Path/DemoParts/motor_mount_inch.fcstd
rename to src/Mod/CAM/DemoParts/motor_mount_inch.fcstd
diff --git a/src/Mod/Path/DemoParts/strange_part_with_holes.fcstd b/src/Mod/CAM/DemoParts/strange_part_with_holes.fcstd
similarity index 100%
rename from src/Mod/Path/DemoParts/strange_part_with_holes.fcstd
rename to src/Mod/CAM/DemoParts/strange_part_with_holes.fcstd
diff --git a/src/Mod/Path/GCode-description.md b/src/Mod/CAM/GCode-description.md
similarity index 100%
rename from src/Mod/Path/GCode-description.md
rename to src/Mod/CAM/GCode-description.md
diff --git a/src/Mod/Path/Gui/AppPathGui.cpp b/src/Mod/CAM/Gui/AppPathGui.cpp
similarity index 99%
rename from src/Mod/Path/Gui/AppPathGui.cpp
rename to src/Mod/CAM/Gui/AppPathGui.cpp
index 8b3c0641c2..84dbb84a1c 100644
--- a/src/Mod/Path/Gui/AppPathGui.cpp
+++ b/src/Mod/CAM/Gui/AppPathGui.cpp
@@ -87,7 +87,7 @@ PyMOD_INIT_FUNC(PathGui)
loadPathResource();
// register preferences pages
- new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","Path"));
+ new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","CAM"));
PyMOD_Return(mod);
}
diff --git a/src/Mod/Path/Gui/AppPathGuiPy.cpp b/src/Mod/CAM/Gui/AppPathGuiPy.cpp
similarity index 98%
rename from src/Mod/Path/Gui/AppPathGuiPy.cpp
rename to src/Mod/CAM/Gui/AppPathGuiPy.cpp
index ea49fdda68..e484c4ab80 100644
--- a/src/Mod/Path/Gui/AppPathGuiPy.cpp
+++ b/src/Mod/CAM/Gui/AppPathGuiPy.cpp
@@ -76,7 +76,7 @@ private:
try {
std::string path = App::Application::getHomePath();
- path += "Mod/Path/Path/Post/scripts/";
+ path += "Mod/CAM/Path/Post/scripts/";
QDir dir1(QString::fromUtf8(path.c_str()), QString::fromLatin1("*_pre.py"));
std::string cMacroPath = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetASCII("MacroPath",App::Application::getUserMacroDir().c_str());
@@ -143,7 +143,7 @@ private:
try {
std::string path = App::Application::getHomePath();
- path += "Mod/Path/Path/Post/scripts/";
+ path += "Mod/CAM/Path/Post/scripts/";
QDir dir1(QString::fromUtf8(path.c_str()), QString::fromLatin1("*_pre.py"));
std::string cMacroPath = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetASCII("MacroPath",App::Application::getUserMacroDir().c_str());
@@ -219,7 +219,7 @@ private:
throw Py::RuntimeError("No object to export");
std::string path = App::Application::getHomePath();
- path += "Mod/Path/Path/Post/scripts/";
+ path += "Mod/CAM/Path/Post/scripts/";
QDir dir1(QString::fromUtf8(path.c_str()), QString::fromLatin1("*_post.py"));
std::string cMacroPath = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetASCII("MacroPath",App::Application::getUserMacroDir().c_str());
diff --git a/src/Mod/Path/Gui/CMakeLists.txt b/src/Mod/CAM/Gui/CMakeLists.txt
similarity index 94%
rename from src/Mod/Path/Gui/CMakeLists.txt
rename to src/Mod/CAM/Gui/CMakeLists.txt
index 113722c393..bfa71d5079 100644
--- a/src/Mod/Path/Gui/CMakeLists.txt
+++ b/src/Mod/CAM/Gui/CMakeLists.txt
@@ -80,16 +80,16 @@ if(FREECAD_USE_PCH)
endif(FREECAD_USE_PCH)
SET(PathGuiIcon_SVG
- Resources/icons/PathWorkbench.svg
+ Resources/icons/CAMWorkbench.svg
)
add_library(PathGui SHARED ${PathGui_SRCS} ${PathGuiIcon_SVG})
target_link_libraries(PathGui ${PathGui_LIBS})
-SET_BIN_DIR(PathGui PathGui /Mod/Path)
+SET_BIN_DIR(PathGui PathGui /Mod/CAM)
SET_PYTHON_PREFIX_SUFFIX(PathGui)
-fc_copy_sources(PathGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Path" ${PathGuiIcon_SVG})
+fc_copy_sources(PathGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/CAM" ${PathGuiIcon_SVG})
INSTALL(TARGETS PathGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
-INSTALL(FILES ${PathGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Path/Resources/icons")
+INSTALL(FILES ${PathGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/CAM/Resources/icons")
diff --git a/src/Mod/Path/Gui/Command.cpp b/src/Mod/CAM/Gui/Command.cpp
similarity index 95%
rename from src/Mod/Path/Gui/Command.cpp
rename to src/Mod/CAM/Gui/Command.cpp
index 0af7ec5ef9..d31526b160 100644
--- a/src/Mod/Path/Gui/Command.cpp
+++ b/src/Mod/CAM/Gui/Command.cpp
@@ -31,8 +31,8 @@
#include
#include
#include
-#include
-#include
+#include
+#include
// Path Area #####################################################################################################
@@ -40,15 +40,15 @@
DEF_STD_CMD_A(CmdPathArea)
CmdPathArea::CmdPathArea()
- :Command("Path_Area")
+ :Command("CAM_Area")
{
sAppModule = "Path";
sGroup = QT_TR_NOOP("Path");
sMenuText = QT_TR_NOOP("Area");
sToolTipText = QT_TR_NOOP("Creates a feature area from selected objects");
- sWhatsThis = "Path_Area";
+ sWhatsThis = "CAM_Area";
sStatusTip = sToolTipText;
- sPixmap = "Path_Area";
+ sPixmap = "CAM_Area";
}
void CmdPathArea::activated(int iMsg)
@@ -122,15 +122,15 @@ bool CmdPathArea::isActive()
DEF_STD_CMD_A(CmdPathAreaWorkplane)
CmdPathAreaWorkplane::CmdPathAreaWorkplane()
- :Command("Path_Area_Workplane")
+ :Command("CAM_Area_Workplane")
{
sAppModule = "Path";
sGroup = QT_TR_NOOP("Path");
sMenuText = QT_TR_NOOP("Area workplane");
sToolTipText = QT_TR_NOOP("Select a workplane for a FeatureArea");
- sWhatsThis = "Path_Area_Workplane";
+ sWhatsThis = "CAM_Area_Workplane";
sStatusTip = sToolTipText;
- sPixmap = "Path_Area_Workplane";
+ sPixmap = "CAM_Area_Workplane";
}
void CmdPathAreaWorkplane::activated(int iMsg)
@@ -212,15 +212,15 @@ bool CmdPathAreaWorkplane::isActive()
DEF_STD_CMD_A(CmdPathCompound)
CmdPathCompound::CmdPathCompound()
- :Command("Path_Compound")
+ :Command("CAM_Compound")
{
sAppModule = "Path";
sGroup = QT_TR_NOOP("Path");
sMenuText = QT_TR_NOOP("Compound");
- sToolTipText = QT_TR_NOOP("Creates a compound from selected paths");
- sWhatsThis = "Path_Compound";
+ sToolTipText = QT_TR_NOOP("Creates a compound from selected toolpaths");
+ sWhatsThis = "CAM_Compound";
sStatusTip = sToolTipText;
- sPixmap = "Path_Compound";
+ sPixmap = "CAM_Compound";
}
void CmdPathCompound::activated(int iMsg)
@@ -264,15 +264,15 @@ bool CmdPathCompound::isActive()
DEF_STD_CMD_A(CmdPathShape)
CmdPathShape::CmdPathShape()
- :Command("Path_Shape")
+ :Command("CAM_Shape")
{
sAppModule = "Path";
sGroup = QT_TR_NOOP("Path");
sMenuText = QT_TR_NOOP("From Shape");
- sToolTipText = QT_TR_NOOP("Creates a path from a selected shape");
- sWhatsThis = "Path_Shape";
+ sToolTipText = QT_TR_NOOP("Creates a toolpath from a selected shape");
+ sWhatsThis = "CAM_Shape";
sStatusTip = sToolTipText;
- sPixmap = "Path_Shape";
+ sPixmap = "CAM_Shape";
}
void CmdPathShape::activated(int iMsg)
diff --git a/src/Mod/Path/Gui/DlgJobChooser.ui b/src/Mod/CAM/Gui/DlgJobChooser.ui
similarity index 100%
rename from src/Mod/Path/Gui/DlgJobChooser.ui
rename to src/Mod/CAM/Gui/DlgJobChooser.ui
diff --git a/src/Mod/Path/Gui/DlgProcessorChooser.cpp b/src/Mod/CAM/Gui/DlgProcessorChooser.cpp
similarity index 100%
rename from src/Mod/Path/Gui/DlgProcessorChooser.cpp
rename to src/Mod/CAM/Gui/DlgProcessorChooser.cpp
diff --git a/src/Mod/Path/Gui/DlgProcessorChooser.h b/src/Mod/CAM/Gui/DlgProcessorChooser.h
similarity index 100%
rename from src/Mod/Path/Gui/DlgProcessorChooser.h
rename to src/Mod/CAM/Gui/DlgProcessorChooser.h
diff --git a/src/Mod/Path/Gui/DlgProcessorChooser.ui b/src/Mod/CAM/Gui/DlgProcessorChooser.ui
similarity index 100%
rename from src/Mod/Path/Gui/DlgProcessorChooser.ui
rename to src/Mod/CAM/Gui/DlgProcessorChooser.ui
diff --git a/src/Mod/Path/Gui/DlgSettingsPathColor.cpp b/src/Mod/CAM/Gui/DlgSettingsPathColor.cpp
similarity index 100%
rename from src/Mod/Path/Gui/DlgSettingsPathColor.cpp
rename to src/Mod/CAM/Gui/DlgSettingsPathColor.cpp
diff --git a/src/Mod/Path/Gui/DlgSettingsPathColor.h b/src/Mod/CAM/Gui/DlgSettingsPathColor.h
similarity index 100%
rename from src/Mod/Path/Gui/DlgSettingsPathColor.h
rename to src/Mod/CAM/Gui/DlgSettingsPathColor.h
diff --git a/src/Mod/Path/Gui/DlgSettingsPathColor.ui b/src/Mod/CAM/Gui/DlgSettingsPathColor.ui
similarity index 97%
rename from src/Mod/Path/Gui/DlgSettingsPathColor.ui
rename to src/Mod/CAM/Gui/DlgSettingsPathColor.ui
index a43fc80a68..390d36b78e 100644
--- a/src/Mod/Path/Gui/DlgSettingsPathColor.ui
+++ b/src/Mod/CAM/Gui/DlgSettingsPathColor.ui
@@ -41,7 +41,7 @@
DefaultPathLineWidth
- Mod/Path
+ Mod/CAM
@@ -87,7 +87,7 @@
DefaultBBoxNormalColor
- Mod/Path
+ Mod/CAM
@@ -120,7 +120,7 @@
DefaultNormalPathColor
- Mod/Path
+ Mod/CAM
@@ -140,7 +140,7 @@
DefaultRapidPathColor
- Mod/Path
+ Mod/CAM
@@ -186,7 +186,7 @@
DefaultHighlightPathColor
- Mod/Path
+ Mod/CAM
@@ -232,7 +232,7 @@
DefaultPathMarkerColor
- Mod/Path
+ Mod/CAM
@@ -265,7 +265,7 @@
DefaultProbePathColor
- Mod/Path
+ Mod/CAM
@@ -285,7 +285,7 @@
DefaultBBoxSelectionColor
- Mod/Path
+ Mod/CAM
@@ -329,7 +329,7 @@
DefaultSelectionStyle
- Mod/Path
+ Mod/CAM
-
@@ -361,7 +361,7 @@
DefaultTaskPanelLayout
- Mod/Path
+ Mod/CAM
-
diff --git a/src/Mod/Path/Gui/PreCompiled.cpp b/src/Mod/CAM/Gui/PreCompiled.cpp
similarity index 100%
rename from src/Mod/Path/Gui/PreCompiled.cpp
rename to src/Mod/CAM/Gui/PreCompiled.cpp
diff --git a/src/Mod/Path/Gui/PreCompiled.h b/src/Mod/CAM/Gui/PreCompiled.h
similarity index 100%
rename from src/Mod/Path/Gui/PreCompiled.h
rename to src/Mod/CAM/Gui/PreCompiled.h
diff --git a/src/Mod/CAM/Gui/Resources/Path.qrc b/src/Mod/CAM/Gui/Resources/Path.qrc
new file mode 100644
index 0000000000..1f57b53a6e
--- /dev/null
+++ b/src/Mod/CAM/Gui/Resources/Path.qrc
@@ -0,0 +1,129 @@
+
+
+ icons/CAM_Adaptive.svg
+ icons/CAM_3DPocket.svg
+ icons/CAM_3DSurface.svg
+ icons/CAM_Area_View.svg
+ icons/CAM_Area_Workplane.svg
+ icons/CAM_Area.svg
+ icons/CAM_Array.svg
+ icons/CAM_BFastForward.svg
+ icons/CAM_BPause.svg
+ icons/CAM_BPlay.svg
+ icons/CAM_BStep.svg
+ icons/CAM_BStop.svg
+ icons/CAM_BaseGeometry.svg
+ icons/CAM_Camotics.svg
+ icons/CAM_Comment.svg
+ icons/CAM_Compound.svg
+ icons/CAM_Copy.svg
+ icons/CAM_Custom.svg
+ icons/CAM_Datums.svg
+ icons/CAM_Deburr.svg
+ icons/CAM_Depths.svg
+ icons/CAM_Dressup.svg
+ icons/CAM_Drilling.svg
+ icons/CAM_Engrave.svg
+ icons/CAM_ExportTemplate.svg
+ icons/CAM_Face.svg
+ icons/CAM_FacePocket.svg
+ icons/CAM_FaceProfile.svg
+ icons/CAM_Heights.svg
+ icons/CAM_Helix.svg
+ icons/CAM_Inspect.svg
+ icons/CAM_Job.svg
+ icons/CAM_LengthOffset.svg
+ icons/CAM_OpActive.svg
+ icons/CAM_OpCopy.svg
+ icons/CAM_OperationA.svg
+ icons/CAM_OperationB.svg
+ icons/CAM_Pocket.svg
+ icons/CAM_Post.svg
+ icons/CAM_Probe.svg
+ icons/CAM_Profile_Edges.svg
+ icons/CAM_Profile_Face.svg
+ icons/CAM_Profile.svg
+ icons/CAM_Sanity.svg
+ icons/CAM_SelectLoop.svg
+ icons/CAM_SetupSheet.svg
+ icons/CAM_Shape.svg
+ icons/CAM_SimpleCopy.svg
+ icons/CAM_Simulator.svg
+ icons/CAM_Slot.svg
+ icons/CAM_Stop.svg
+ icons/CAM_ThreadMilling.svg
+ icons/CAM_ToolBit.svg
+ icons/CAM_ToolChange.svg
+ icons/CAM_ToolController.svg
+ icons/CAM_ToolDuplicate.svg
+ icons/CAM_Toolpath.svg
+ icons/CAM_ToolTable.svg
+ icons/CAM_Vcarve.svg
+ icons/CAM_Waterline.svg
+ icons/arrow-ccw.svg
+ icons/arrow-cw.svg
+ icons/arrow-down.svg
+ icons/arrow-left-down.svg
+ icons/arrow-left-up.svg
+ icons/arrow-left.svg
+ icons/arrow-right-down.svg
+ icons/arrow-right-up.svg
+ icons/arrow-right.svg
+ icons/arrow-up.svg
+ icons/edge-join-miter-not.svg
+ icons/edge-join-miter.svg
+ icons/edge-join-round-not.svg
+ icons/edge-join-round.svg
+ icons/preferences-cam.svg
+ panels/AxisMapEdit.ui
+ panels/DlgJobCreate.ui
+ panels/DlgJobModelSelect.ui
+ panels/DlgJobTemplateExport.ui
+ panels/DlgSelectPostProcessor.ui
+ panels/DlgTCChooser.ui
+ panels/DlgToolControllerEdit.ui
+ panels/DlgToolCopy.ui
+ panels/DlgToolEdit.ui
+ panels/DogboneEdit.ui
+ panels/DressupPathBoundary.ui
+ panels/DragKnifeEdit.ui
+ panels/DressUpLeadInOutEdit.ui
+ panels/HoldingTagsEdit.ui
+ panels/PageBaseGeometryEdit.ui
+ panels/PageBaseHoleGeometryEdit.ui
+ panels/PageBaseLocationEdit.ui
+ panels/PageDepthsEdit.ui
+ panels/PageDiametersEdit.ui
+ panels/PageHeightsEdit.ui
+ panels/PageOpAdaptiveEdit.ui
+ panels/PageOpCustomEdit.ui
+ panels/PageOpDeburrEdit.ui
+ panels/PageOpDrillingEdit.ui
+ panels/PageOpEngraveEdit.ui
+ panels/PageOpHelixEdit.ui
+ panels/PageOpPocketExtEdit.ui
+ panels/PageOpPocketFullEdit.ui
+ panels/PageOpProbeEdit.ui
+ panels/PageOpProfileFullEdit.ui
+ panels/PageOpSlotEdit.ui
+ panels/PageOpSurfaceEdit.ui
+ panels/PageOpThreadMillingEdit.ui
+ panels/PageOpWaterlineEdit.ui
+ panels/PageOpVcarveEdit.ui
+ panels/PathEdit.ui
+ panels/PointEdit.ui
+ panels/PropertyBag.ui
+ panels/PropertyCreate.ui
+ panels/SetupGlobal.ui
+ panels/SetupOp.ui
+ panels/ToolBitEditor.ui
+ panels/ToolBitLibraryEdit.ui
+ panels/ToolBitSelector.ui
+ panels/TaskPathCamoticsSim.ui
+ panels/TaskPathSimulator.ui
+ panels/ZCorrectEdit.ui
+ preferences/Advanced.ui
+ preferences/PathDressupHoldingTags.ui
+ preferences/PathJob.ui
+
+
diff --git a/src/Mod/Path/Gui/Resources/icons/PathWorkbench.svg b/src/Mod/CAM/Gui/Resources/icons/CAMWorkbench.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/PathWorkbench.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAMWorkbench.svg
index 3870d468ee..714280eb8c 100644
--- a/src/Mod/Path/Gui/Resources/icons/PathWorkbench.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAMWorkbench.svg
@@ -355,7 +355,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/PathWorkbench.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/PathWorkbench.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_3DPocket.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_3DPocket.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_3DPocket.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_3DPocket.svg
index 9dc00eac2a..f9d0e005ad 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_3DPocket.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_3DPocket.svg
@@ -14,7 +14,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
- sodipodi:docname="Path_3DPocket.svg">
+ sodipodi:docname="CAM_3DPocket.svg">
- Path_3DSurface
+ CAM_3DSurface
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -197,7 +197,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_3DSurface.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_3DSurface.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_3DSurface.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_3DSurface.svg
similarity index 97%
rename from src/Mod/Path/Gui/Resources/icons/Path_3DSurface.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_3DSurface.svg
index f5e6518bc1..f9c19b9615 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_3DSurface.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_3DSurface.svg
@@ -1,5 +1,5 @@
-
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_3DSurface.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_3DSurface.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Adaptive.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Adaptive.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Adaptive.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Adaptive.svg
index 22d6e7ee52..8eb864ce67 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Adaptive.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Adaptive.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_Adaptive.svg">
+ sodipodi:docname="CAM_Adaptive.svg">
- Path_FaceProfile
+ CAM_Adaptive
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -583,7 +583,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Area.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Area.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Area.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Area.svg
index 3fba657bc6..1ac79d83e0 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Area.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Area.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_Area.svg">
+ sodipodi:docname="CAM_Area.svg">
- Path_FaceProfile
+ CAM_Area
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -595,7 +595,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Area_View.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Area_View.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Area_View.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Area_View.svg
index ec6d9028ae..385a501022 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Area_View.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Area_View.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_Area_View.svg">
+ sodipodi:docname="CAM_Area_View.svg">
- Path_FaceProfile
+ CAM_Area_View
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -595,7 +595,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Area_Workplane.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Area_Workplane.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Area_Workplane.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Area_Workplane.svg
index e5ecd91b06..9b6f1dd2d2 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Area_Workplane.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Area_Workplane.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_Area_Workplane.svg">
+ sodipodi:docname="CAM_Area_Workplane.svg">
- Path_FaceProfile
+ CAM_Area_Workplane
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -617,7 +617,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Array.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Array.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Array.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Array.svg
index f9449f422c..86d33636f3 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Array.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Array.svg
@@ -1,6 +1,6 @@
-
+
@@ -111,7 +111,7 @@
image/svg+xml
- Path_Array
+ CAM_Array
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -119,7 +119,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Array.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Array.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_BFastForward.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_BFastForward.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/Path_BFastForward.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_BFastForward.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_BPause.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_BPause.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/Path_BPause.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_BPause.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_BPlay.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_BPlay.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/Path_BPlay.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_BPlay.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_BStep.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_BStep.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/Path_BStep.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_BStep.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_BStop.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_BStop.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/Path_BStop.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_BStop.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_BaseGeometry.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_BaseGeometry.svg
similarity index 95%
rename from src/Mod/Path/Gui/Resources/icons/Path_BaseGeometry.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_BaseGeometry.svg
index e015f6b9b2..7b5444d2dc 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_BaseGeometry.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_BaseGeometry.svg
@@ -1,5 +1,5 @@
-
+
@@ -21,7 +21,7 @@
image/svg+xml
- Path_BaseGeometry
+ CAM_BaseGeometry
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -29,7 +29,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_BaseGeometry.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_BaseGeometry.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Camotics.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Camotics.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Camotics.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Camotics.svg
index 473e5a99a4..0d07bd55be 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Camotics.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Camotics.svg
@@ -8,7 +8,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- sodipodi:docname="Path_Camotics.svg"
+ sodipodi:docname="CAM_Camotics.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
version="1.1"
id="svg2816"
@@ -576,7 +576,7 @@
- Path_Drilling
+ CAM_Camotics
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -584,7 +584,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Camotics.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Comment.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Comment.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_Comment.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Comment.svg
index 0fb296ad34..0ff607852d 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Comment.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Comment.svg
@@ -1,6 +1,6 @@
-
+
@@ -105,7 +105,7 @@
image/svg+xml
- Path_Comment
+ CAM_Comment
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -113,7 +113,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Comment.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Comment.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Compound.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Compound.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Compound.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Compound.svg
index e6ab1ada00..7a3eb12c3c 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Compound.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Compound.svg
@@ -1,6 +1,6 @@
-
+
@@ -154,7 +154,7 @@
image/svg+xml
- Path_Compound
+ CAM_Compound
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -162,7 +162,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Compound.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Compound.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Copy.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Copy.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Copy.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Copy.svg
index f5fd853d51..49eb262541 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Copy.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Copy.svg
@@ -1,6 +1,6 @@
-
+
@@ -124,7 +124,7 @@
image/svg+xml
- Path_Copy
+ CAM_Copy
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -132,7 +132,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Copy.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Copy.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Custom.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Custom.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Custom.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Custom.svg
index dfa927d511..85979b0084 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Custom.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Custom.svg
@@ -1,6 +1,6 @@
-
+
@@ -94,7 +94,7 @@
image/svg+xml
- Path_Custom
+ CAM_Custom
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -102,7 +102,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Custom.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Custom.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Datums.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Datums.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_Datums.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Datums.svg
index a1e1bd648b..3b0ca7952d 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Datums.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Datums.svg
@@ -1,6 +1,6 @@
-
+
@@ -48,7 +48,7 @@
image/svg+xml
- Path_Datums
+ CAM_Datums
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -56,7 +56,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Datums.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Datums.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Deburr.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Deburr.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Deburr.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Deburr.svg
index 988878a8b4..0b2d104463 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Deburr.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Deburr.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
- sodipodi:docname="Path_Deburr.svg">
+ sodipodi:docname="CAM_Deburr.svg">
- Path_Drilling
+ CAM_Deburr
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -604,7 +604,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Deburr.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Depths.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Depths.svg
similarity index 97%
rename from src/Mod/Path/Gui/Resources/icons/Path_Depths.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Depths.svg
index 14f09790d7..00ca3a10cc 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Depths.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Depths.svg
@@ -1,5 +1,5 @@
-
+
@@ -46,7 +46,7 @@
image/svg+xml
- Path_Depths
+ CAM_Depths
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -54,7 +54,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Depths.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Depths.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Dressup.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Dressup.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Dressup.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Dressup.svg
index e09798b303..a92b64f1b6 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Dressup.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Dressup.svg
@@ -1,6 +1,6 @@
-
+
@@ -130,7 +130,7 @@
image/svg+xml
- Path_Dressup
+ CAM_Dressup
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -138,7 +138,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Dressup.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Dressup.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Drilling.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Drilling.svg
index 96f8d822a9..0756431bfc 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Drilling.svg
@@ -1,6 +1,6 @@
-
+
@@ -111,7 +111,7 @@
image/svg+xml
- Path_Drilling
+ CAM_Drilling
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -119,7 +119,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Drilling.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Engrave.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Engrave.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Engrave.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Engrave.svg
index 13a3248040..ebefdf959f 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Engrave.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Engrave.svg
@@ -1,6 +1,6 @@
-
+
@@ -112,7 +112,7 @@
image/svg+xml
- Path_Engrave
+ CAM_Engrave
2016-02-24
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -120,7 +120,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Engrave.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Engrave.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ExportTemplate.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ExportTemplate.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_ExportTemplate.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ExportTemplate.svg
index eef71f0aca..a024c78591 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ExportTemplate.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ExportTemplate.svg
@@ -16,7 +16,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
- sodipodi:docname="Path_ExportTemplate.svg">
+ sodipodi:docname="CAM_ExportTemplate.svg">
- Path_Job
+ CAM_ExportTemplate
2016-06-27
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -1089,7 +1089,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Job.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_ExportTemplate.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Face.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Face.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Face.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Face.svg
index bf9c0ce5af..e08a357f4d 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Face.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Face.svg
@@ -1,6 +1,6 @@
-
+
@@ -166,7 +166,7 @@
image/svg+xml
- Path_Face
+ CAM_Face
2016-11-07
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -174,7 +174,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_FacePocket.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_FacePocket.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_FacePocket.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_FacePocket.svg
index 845e31078b..05103cd79c 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_FacePocket.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_FacePocket.svg
@@ -1,6 +1,6 @@
-
+
@@ -117,7 +117,7 @@
image/svg+xml
- Path_FacePocket
+ CAM_FacePocket
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -125,7 +125,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_FaceProfile.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_FaceProfile.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_FaceProfile.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_FaceProfile.svg
index a2b1ac5d5c..43fd932553 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_FaceProfile.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_FaceProfile.svg
@@ -1,6 +1,6 @@
-
+
@@ -117,7 +117,7 @@
image/svg+xml
- Path_FaceProfile
+ CAM_FaceProfile
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -125,7 +125,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Heights.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Heights.svg
similarity index 97%
rename from src/Mod/Path/Gui/Resources/icons/Path_Heights.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Heights.svg
index e36311f607..6e64c78fc3 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Heights.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Heights.svg
@@ -1,5 +1,5 @@
-
+
@@ -31,7 +31,7 @@
image/svg+xml
- Path_Heights
+ CAM_Heights
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -39,7 +39,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Heights.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Heights.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Helix.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Helix.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Helix.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Helix.svg
index a8b00c64cb..c67cfcf23e 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Helix.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Helix.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.48.5 r10040"
- sodipodi:docname="Path_Helix.svg"
+ sodipodi:docname="CAM_Helix.svg"
inkscape:export-filename="C:\Users\Alex Gryson\Desktop\Path-Helix_64.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
@@ -1399,7 +1399,7 @@
[Lorenz Hüdepohl]
- Path_Helix
+ CAM_Helix
2016-05-10
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -1407,7 +1407,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Helix.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Helix.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_InactiveOp.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_InactiveOp.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_InactiveOp.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_InactiveOp.svg
index 8cd142bff8..a310c24c63 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_InactiveOp.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_InactiveOp.svg
@@ -15,7 +15,7 @@
id="svg2726"
sodipodi:version="0.32"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_InactiveOp.svg"
+ sodipodi:docname="CAM_InactiveOp.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
ellipsis
- Path_OperationA
+ CAM_OperationA
https://www.gnu.org/copyleft/lesser.html
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Inspect.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Inspect.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Inspect.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Inspect.svg
index d60819ac89..0c6f17df15 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Inspect.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Inspect.svg
@@ -1,6 +1,6 @@
-
+
@@ -190,7 +190,7 @@
image/svg+xml
- Path_Inspect
+ CAM_Inspect
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -198,7 +198,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Inspect.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Inspect.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Job.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Job.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Job.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Job.svg
index 9a458e2360..27f2d06a3e 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Job.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Job.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.48.5 r10040"
- sodipodi:docname="Path_Job.svg">
+ sodipodi:docname="CAM_Job.svg">
- Path_Job
+ CAM_Job
2016-06-27
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -1129,7 +1129,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Job.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Job.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_LengthOffset.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_LengthOffset.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_LengthOffset.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_LengthOffset.svg
index 85a963040e..eb056b49e1 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_LengthOffset.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_LengthOffset.svg
@@ -1,6 +1,6 @@
-
+
@@ -97,7 +97,7 @@
image/svg+xml
- Path_LengthOffset
+ CAM_LengthOffset
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -105,7 +105,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_LengthOffset.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_LengthOffset.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Machine.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Machine.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Machine.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Machine.svg
index 0e676877c2..441c300927 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Machine.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Machine.svg
@@ -1,6 +1,6 @@
-
+
@@ -118,7 +118,7 @@
image/svg+xml
- Path_Machine
+ CAM_Machine
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -126,7 +126,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Machine.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Machine.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_MachineLathe.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_MachineLathe.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_MachineLathe.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_MachineLathe.svg
index 8e0306ff5b..f7f6733232 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_MachineLathe.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_MachineLathe.svg
@@ -1,5 +1,5 @@
-
+
@@ -61,7 +61,7 @@
image/svg+xml
- Path_MachineLathe
+ CAM_MachineLathe
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -69,7 +69,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_MachineLathe.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_MachineLathe.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_MachineMill.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_MachineMill.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_MachineMill.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_MachineMill.svg
index 9d05f2ad9d..3c53f413f6 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_MachineMill.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_MachineMill.svg
@@ -1,5 +1,5 @@
-
+
@@ -38,7 +38,7 @@
image/svg+xml
- Path_MachineMill
+ CAM_MachineMill
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -46,7 +46,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_MachineMill.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_MachineMill.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Machine_test1.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Machine_test1.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Machine_test1.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Machine_test1.svg
index 737400293a..4b37ded5ae 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Machine_test1.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Machine_test1.svg
@@ -1,6 +1,6 @@
-
+
@@ -136,7 +136,7 @@
image/svg+xml
- Path_Machine_test1
+ CAM_Machine_test1
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -144,7 +144,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Machine_test1.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Machine_test1.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_OpActive.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_OpActive.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_OpActive.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_OpActive.svg
index 4c841afcb7..4f2bee8769 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_OpActive.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_OpActive.svg
@@ -15,7 +15,7 @@
id="svg2726"
sodipodi:version="0.32"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_OpActive.svg"
+ sodipodi:docname="CAM_OpActive.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
ellipsis
- Path_OperationA
+ CAM_OperationA
https://www.gnu.org/copyleft/lesser.html
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_OpCopy.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_OpCopy.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_OpCopy.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_OpCopy.svg
index a96da1451a..2a3479cef2 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_OpCopy.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_OpCopy.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_OpCopy.svg">
+ sodipodi:docname="CAM_OpCopy.svg">
- Path_FaceProfile
+ CAM_OpCopy
2016-01-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -613,7 +613,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_OperationA.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_OperationA.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_OperationA.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_OperationA.svg
index a18b6452ba..af876a0c59 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_OperationA.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_OperationA.svg
@@ -139,7 +139,7 @@
ellipsis
- Path_OperationA
+ CAM_OperationA
https://www.gnu.org/copyleft/lesser.html
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_OperationB.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_OperationB.svg
similarity index 97%
rename from src/Mod/Path/Gui/Resources/icons/Path_OperationB.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_OperationB.svg
index f42344864b..afd8232b7f 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_OperationB.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_OperationB.svg
@@ -1,5 +1,5 @@
-
+
@@ -58,7 +58,7 @@
image/svg+xml
- Path_OperationB
+ CAM_OperationB
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -66,7 +66,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_OperationB.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_OperationB.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Pocket.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Pocket.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Pocket.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Pocket.svg
index 9b147f6b78..7299e0b1bb 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Pocket.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Pocket.svg
@@ -1,6 +1,6 @@
-
+
@@ -125,7 +125,7 @@
image/svg+xml
- Path_Pocket
+ CAM_Pocket
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -133,7 +133,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Pocket.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Pocket.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Post.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Post.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Post.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Post.svg
index 25fb4de91d..3db66463c2 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Post.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Post.svg
@@ -1,6 +1,6 @@
-
+
@@ -209,7 +209,7 @@
image/svg+xml
- Path_Job
+ CAM_Post
2016-06-27
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -217,7 +217,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Job.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Post.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Probe.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Probe.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Probe.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Probe.svg
index 6a2d992780..b8304c163d 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Probe.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Probe.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="Path_Probe.svg">
+ sodipodi:docname="CAM_Probe.svg">
- Path_Drilling
+ CAM_Probe
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -585,7 +585,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Probe.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Profile.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Profile.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Profile.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Profile.svg
index c965e5a122..5ef63b5fa2 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Profile.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Profile.svg
@@ -1,6 +1,6 @@
-
+
@@ -138,7 +138,7 @@
image/svg+xml
- Path_Profile
+ CAM_Profile
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -146,7 +146,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Profile.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Profile.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Profile_Edges.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Edges.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Profile_Edges.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Edges.svg
index 2be223b0be..047910fb89 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Profile_Edges.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Edges.svg
@@ -1,6 +1,6 @@
-
+
@@ -143,7 +143,7 @@
image/svg+xml
- Path_Profile_Edges
+ CAM_Profile_Edges_Edges
2016-10-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -151,7 +151,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Profile_Edges.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Edges_Edges.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Profile_Face.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Face.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Profile_Face.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Face.svg
index 301235c2a6..9c0ee85866 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Profile_Face.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Face.svg
@@ -1,6 +1,6 @@
-
+
@@ -138,7 +138,7 @@
image/svg+xml
- Path_Profile_Face
+ CAM_Profile_Face_Face
2016-10-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -146,7 +146,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Profile_
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Profile_Face_
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Sanity.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Sanity.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_Sanity.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Sanity.svg
index 380a7c6d64..05b2b5d220 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Sanity.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Sanity.svg
@@ -1,14 +1,14 @@
-
+
image/svg+xml
- Path_Sanity
- 2016-05-15https://www.freecad.org/wiki/index.php?title=ArtworkFreeCADFreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Sanity.svgFreeCAD LGPL2+https://www.gnu.org/copyleft/lesser.html[agryson] Alexander Gryson
+ CAM_Sanity
+ 2016-05-15https://www.freecad.org/wiki/index.php?title=ArtworkFreeCADFreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Sanity.svgFreeCAD LGPL2+https://www.gnu.org/copyleft/lesser.html[agryson] Alexander Gryson
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_SelectLoop.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_SelectLoop.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_SelectLoop.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_SelectLoop.svg
index ffd12f17f6..4fa1dd201a 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_SelectLoop.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_SelectLoop.svg
@@ -1,6 +1,6 @@
-
+
@@ -109,7 +109,7 @@
image/svg+xml
- Path_SelectLoop
+ CAM_SelectLoop
2016-10-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -117,7 +117,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_SelectLoop.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_SelectLoop.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_SetupSheet.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_SetupSheet.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/Path_SetupSheet.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_SetupSheet.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Shape.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Shape.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Shape.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Shape.svg
index 1c6fa01fb8..b9e8325f18 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Shape.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Shape.svg
@@ -1,6 +1,6 @@
-
+
@@ -118,7 +118,7 @@
image/svg+xml
- Path_Shape
+ CAM_Shape
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -126,7 +126,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Shape.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Shape.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_SimpleCopy.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_SimpleCopy.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_SimpleCopy.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_SimpleCopy.svg
index bf9422b562..dae43dfb0d 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_SimpleCopy.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_SimpleCopy.svg
@@ -1,6 +1,6 @@
-
+
@@ -114,7 +114,7 @@
image/svg+xml
- Path_SimpleCopy
+ CAM_SimpleCopy
2016-01-23
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -122,7 +122,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_SimpleCopy.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_SimpleCopy.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Simulator.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Simulator.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Simulator.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Simulator.svg
index dc5145cd8b..ca2c9ad092 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Simulator.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Simulator.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.1 r15371"
- sodipodi:docname="Path_Simulator.svg">
+ sodipodi:docname="CAM_Simulator.svg">
- Path_Machine
+ CAM_Machine
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -1291,7 +1291,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Machine.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Machine.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Slot.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Slot.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Slot.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Slot.svg
index 8b4d832743..484174384a 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Slot.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Slot.svg
@@ -8,7 +8,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- sodipodi:docname="Path_Slot.svg"
+ sodipodi:docname="CAM_Slot.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
version="1.1"
id="svg2816"
@@ -624,7 +624,7 @@
- Path_Drilling
+ CAM_Slot
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -632,7 +632,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Drilling.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Slot.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Speed.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Speed.svg
similarity index 97%
rename from src/Mod/Path/Gui/Resources/icons/Path_Speed.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Speed.svg
index beffb62419..192050d971 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Speed.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Speed.svg
@@ -1,5 +1,5 @@
-
+
@@ -43,7 +43,7 @@
image/svg+xml
- Path_Speed
+ CAM_Speed
2016-05-15
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -51,7 +51,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Speed.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Speed.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Stop.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Stop.svg
similarity index 95%
rename from src/Mod/Path/Gui/Resources/icons/Path_Stop.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Stop.svg
index 8fabf03d09..c874f4a613 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Stop.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Stop.svg
@@ -1,6 +1,6 @@
-
+
@@ -17,7 +17,7 @@
image/svg+xml
- Path_Stop
+ CAM_Stop
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -25,7 +25,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Stop.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Stop.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Tags.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Tags.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Tags.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Tags.svg
index 1602e29312..2be202f328 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Tags.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Tags.svg
@@ -1,6 +1,6 @@
-
+
@@ -123,7 +123,7 @@
image/svg+xml
- Path_Tags
+ CAM_Tags
2016-02-24
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -131,7 +131,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Tags.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Tags.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ThreadMilling.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ThreadMilling.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_ThreadMilling.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ThreadMilling.svg
index 675e0b8439..4e2496b6d6 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ThreadMilling.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ThreadMilling.svg
@@ -1453,7 +1453,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Helix.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/Path-Helix.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ToolBit.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolBit.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_ToolBit.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ToolBit.svg
index 57ef1414d5..75a95ae19e 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ToolBit.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolBit.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
- sodipodi:docname="Path_Tool.svg">
+ sodipodi:docname="CAM_Tool.svg">
- Path_ToolTable
+ CAM_ToolTable
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -874,7 +874,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_ToolTable.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_ToolTable.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ToolChange.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolChange.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_ToolChange.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ToolChange.svg
index d0c39e1707..0d72e029e7 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ToolChange.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolChange.svg
@@ -1,6 +1,6 @@
-
+
@@ -151,7 +151,7 @@
image/svg+xml
- Path_ToolChange
+ CAM_ToolChange
2016-01-20
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -159,7 +159,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_ToolChange.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_ToolChange.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ToolController.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolController.svg
similarity index 98%
rename from src/Mod/Path/Gui/Resources/icons/Path_ToolController.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ToolController.svg
index b080462474..7f9914dbef 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ToolController.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolController.svg
@@ -1,6 +1,6 @@
-
+
@@ -113,7 +113,7 @@
image/svg+xml
- Path_LoadTool
+ CAM_LoadTool
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -121,7 +121,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_LoadTool.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_LoadTool.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ToolDuplicate.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolDuplicate.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_ToolDuplicate.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ToolDuplicate.svg
index 7aab66612a..a1f3ad3bc5 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ToolDuplicate.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolDuplicate.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
- sodipodi:docname="Path_ToolDuplicate.svg">
+ sodipodi:docname="CAM_ToolDuplicate.svg">
- Path_ToolChange
+ CAM_ToolChange
2016-01-20
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -745,7 +745,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_ToolChange.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_ToolChange.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_ToolTable.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolTable.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_ToolTable.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_ToolTable.svg
index dd3eee79a8..8f3d56967b 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_ToolTable.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_ToolTable.svg
@@ -1,6 +1,6 @@
-
+
@@ -174,7 +174,7 @@
image/svg+xml
- Path_ToolTable
+ CAM_ToolTable
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -182,7 +182,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_ToolTable.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_ToolTable.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Toolpath.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Toolpath.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Toolpath.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Toolpath.svg
index 0e460f3e1e..218877f5a9 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Toolpath.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Toolpath.svg
@@ -1,6 +1,6 @@
-
+
@@ -116,7 +116,7 @@
image/svg+xml
- Path_Toolpath
+ CAM_Toolpath
2015-07-04
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -124,7 +124,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Toolpath.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Toolpath.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Vcarve.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Vcarve.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/Path_Vcarve.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Vcarve.svg
index f27a178e55..0f269e8db0 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Vcarve.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Vcarve.svg
@@ -15,7 +15,7 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
- sodipodi:docname="Path_Vcarve.svg">
+ sodipodi:docname="CAM_Vcarve.svg">
- Path_Engrave
+ CAM_Vcarve
2016-02-24
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -604,7 +604,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Engrave.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Vcarve.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/Path_Waterline.svg b/src/Mod/CAM/Gui/Resources/icons/CAM_Waterline.svg
similarity index 97%
rename from src/Mod/Path/Gui/Resources/icons/Path_Waterline.svg
rename to src/Mod/CAM/Gui/Resources/icons/CAM_Waterline.svg
index 6fbb95ac15..8a0c496289 100644
--- a/src/Mod/Path/Gui/Resources/icons/Path_Waterline.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/CAM_Waterline.svg
@@ -14,9 +14,9 @@
id="svg2816"
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
- sodipodi:docname="Path_Waterline.svg">
+ sodipodi:docname="CAM_Waterline.svg">
Path_Waterline
+ id="title165">CAM_Waterline
image/svg+xml
- Path_Waterline
- Path_Waterline
+ CAM_Waterline
+ CAM_Waterline
2019-05-19
https://www.freecad.org/wiki/index.php?title=Artwork
@@ -184,7 +184,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/Path_Waterline.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/CAM_Waterline.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-ccw.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-ccw.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-ccw.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-ccw.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-cw.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-cw.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-cw.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-cw.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-down.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-down.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-down.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-down.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-left-down.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-left-down.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-left-down.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-left-down.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-left-up.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-left-up.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-left-up.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-left-up.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-left.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-left.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-left.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-left.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-right-down.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-right-down.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-right-down.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-right-down.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-right-up.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-right-up.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-right-up.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-right-up.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-right.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-right.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-right.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-right.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/arrow-up.svg b/src/Mod/CAM/Gui/Resources/icons/arrow-up.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/arrow-up.svg
rename to src/Mod/CAM/Gui/Resources/icons/arrow-up.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/camotics-logo.png b/src/Mod/CAM/Gui/Resources/icons/camotics-logo.png
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/camotics-logo.png
rename to src/Mod/CAM/Gui/Resources/icons/camotics-logo.png
diff --git a/src/Mod/Path/Gui/Resources/icons/edge-join-miter-not.svg b/src/Mod/CAM/Gui/Resources/icons/edge-join-miter-not.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/edge-join-miter-not.svg
rename to src/Mod/CAM/Gui/Resources/icons/edge-join-miter-not.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/edge-join-miter.svg b/src/Mod/CAM/Gui/Resources/icons/edge-join-miter.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/edge-join-miter.svg
rename to src/Mod/CAM/Gui/Resources/icons/edge-join-miter.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/edge-join-round-not.svg b/src/Mod/CAM/Gui/Resources/icons/edge-join-round-not.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/edge-join-round-not.svg
rename to src/Mod/CAM/Gui/Resources/icons/edge-join-round-not.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/edge-join-round.svg b/src/Mod/CAM/Gui/Resources/icons/edge-join-round.svg
similarity index 100%
rename from src/Mod/Path/Gui/Resources/icons/edge-join-round.svg
rename to src/Mod/CAM/Gui/Resources/icons/edge-join-round.svg
diff --git a/src/Mod/Path/Gui/Resources/icons/preferences-path.svg b/src/Mod/CAM/Gui/Resources/icons/preferences-cam.svg
similarity index 99%
rename from src/Mod/Path/Gui/Resources/icons/preferences-path.svg
rename to src/Mod/CAM/Gui/Resources/icons/preferences-cam.svg
index 111e032f79..f904d562c7 100644
--- a/src/Mod/Path/Gui/Resources/icons/preferences-path.svg
+++ b/src/Mod/CAM/Gui/Resources/icons/preferences-cam.svg
@@ -128,7 +128,7 @@
FreeCAD
- FreeCAD/src/Mod/Path/Gui/Resources/icons/preferences-path.svg
+ FreeCAD/src/Mod/CAM/Gui/Resources/icons/preferences-path.svg
FreeCAD LGPL2+
diff --git a/src/Mod/Path/Gui/Resources/panels/AxisMapEdit.ui b/src/Mod/CAM/Gui/Resources/panels/AxisMapEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/AxisMapEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/AxisMapEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgJobCreate.ui b/src/Mod/CAM/Gui/Resources/panels/DlgJobCreate.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgJobCreate.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgJobCreate.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgJobModelSelect.ui b/src/Mod/CAM/Gui/Resources/panels/DlgJobModelSelect.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgJobModelSelect.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgJobModelSelect.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgJobTemplateExport.ui b/src/Mod/CAM/Gui/Resources/panels/DlgJobTemplateExport.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgJobTemplateExport.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgJobTemplateExport.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgSelectPostProcessor.ui b/src/Mod/CAM/Gui/Resources/panels/DlgSelectPostProcessor.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgSelectPostProcessor.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgSelectPostProcessor.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgTCChooser.ui b/src/Mod/CAM/Gui/Resources/panels/DlgTCChooser.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgTCChooser.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgTCChooser.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgToolControllerEdit.ui b/src/Mod/CAM/Gui/Resources/panels/DlgToolControllerEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgToolControllerEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgToolControllerEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgToolCopy.ui b/src/Mod/CAM/Gui/Resources/panels/DlgToolCopy.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgToolCopy.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgToolCopy.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DlgToolEdit.ui b/src/Mod/CAM/Gui/Resources/panels/DlgToolEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DlgToolEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/DlgToolEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui b/src/Mod/CAM/Gui/Resources/panels/DogboneEdit.ui
similarity index 99%
rename from src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/DogboneEdit.ui
index 537172faee..121db96ccb 100644
--- a/src/Mod/Path/Gui/Resources/panels/DogboneEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/DogboneEdit.ui
@@ -104,7 +104,7 @@
-
- Incision
+ Incision
diff --git a/src/Mod/Path/Gui/Resources/panels/DragKnifeEdit.ui b/src/Mod/CAM/Gui/Resources/panels/DragKnifeEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DragKnifeEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/DragKnifeEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/DressUpLeadInOutEdit.ui b/src/Mod/CAM/Gui/Resources/panels/DressUpLeadInOutEdit.ui
similarity index 98%
rename from src/Mod/Path/Gui/Resources/panels/DressUpLeadInOutEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/DressUpLeadInOutEdit.ui
index 8997bf03e1..5edf0b83fa 100644
--- a/src/Mod/Path/Gui/Resources/panels/DressUpLeadInOutEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/DressUpLeadInOutEdit.ui
@@ -1,7 +1,7 @@
- Path_DressupLeadInOut
-
+ CAM_DressupLeadInOut
+
0
diff --git a/src/Mod/Path/Gui/Resources/panels/DressupPathBoundary.ui b/src/Mod/CAM/Gui/Resources/panels/DressupPathBoundary.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/DressupPathBoundary.ui
rename to src/Mod/CAM/Gui/Resources/panels/DressupPathBoundary.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/HoldingTagsEdit.ui b/src/Mod/CAM/Gui/Resources/panels/HoldingTagsEdit.ui
similarity index 99%
rename from src/Mod/Path/Gui/Resources/panels/HoldingTagsEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/HoldingTagsEdit.ui
index 341765258a..cbceb97244 100644
--- a/src/Mod/Path/Gui/Resources/panels/HoldingTagsEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/HoldingTagsEdit.ui
@@ -37,7 +37,7 @@
-
- Angle
+ Angle
diff --git a/src/Mod/Path/Gui/Resources/panels/PageBaseGeometryEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageBaseGeometryEdit.ui
similarity index 97%
rename from src/Mod/Path/Gui/Resources/panels/PageBaseGeometryEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageBaseGeometryEdit.ui
index 75e50235c3..0057f64d2b 100644
--- a/src/Mod/Path/Gui/Resources/panels/PageBaseGeometryEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/PageBaseGeometryEdit.ui
@@ -21,7 +21,7 @@
- :/icons/Path_BaseGeometry.svg:/icons/Path_BaseGeometry.svg
+ :/icons/CAM_BaseGeometry.svg:/icons/CAM_BaseGeometry.svg
-
diff --git a/src/Mod/Path/Gui/Resources/panels/PageBaseHoleGeometryEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageBaseHoleGeometryEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageBaseHoleGeometryEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageBaseHoleGeometryEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageBaseLocationEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageBaseLocationEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageBaseLocationEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageBaseLocationEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageDepthsEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageDepthsEdit.ui
similarity index 98%
rename from src/Mod/Path/Gui/Resources/panels/PageDepthsEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageDepthsEdit.ui
index 696c60e060..8834a594a6 100644
--- a/src/Mod/Path/Gui/Resources/panels/PageDepthsEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/PageDepthsEdit.ui
@@ -18,7 +18,7 @@
- :/icons/Path_Depths.svg:/icons/Path_Depths.svg
+ :/icons/CAM_Depths.svg:/icons/CAM_Depths.svg
-
diff --git a/src/Mod/Path/Gui/Resources/panels/PageDiametersEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageDiametersEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageDiametersEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageDiametersEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageHeightsEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageHeightsEdit.ui
similarity index 96%
rename from src/Mod/Path/Gui/Resources/panels/PageHeightsEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageHeightsEdit.ui
index 9878b8c4b7..ceab3ede12 100644
--- a/src/Mod/Path/Gui/Resources/panels/PageHeightsEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/PageHeightsEdit.ui
@@ -15,7 +15,7 @@
- :/icons/Path_Heights.svg:/icons/Path_Heights.svg
+ :/icons/CAM_Heights.svg:/icons/CAM_Heights.svg
-
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpAdaptiveEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpAdaptiveEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpAdaptiveEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpAdaptiveEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpCustomEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpCustomEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpCustomEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpCustomEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpDeburrEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpDeburrEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpDeburrEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpDeburrEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpDrillingEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpDrillingEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpDrillingEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpDrillingEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpEngraveEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpEngraveEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpEngraveEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpEngraveEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpHelixEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpHelixEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpHelixEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpHelixEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpPocketExtEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpPocketExtEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpPocketExtEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpPocketExtEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpPocketFullEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpPocketFullEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpPocketFullEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpProbeEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpProbeEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpProbeEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpProbeEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpProfileFullEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpProfileFullEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpProfileFullEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpProfileFullEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpSlotEdit.ui
similarity index 94%
rename from src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpSlotEdit.ui
index 52690b5f7b..0631eb9f9b 100644
--- a/src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/PageOpSlotEdit.ui
@@ -87,7 +87,7 @@
- Choose what point to use on the first selected feature
+ Choose what point to use on the first selected feature
false
@@ -159,7 +159,7 @@
- Choose what point to use on the second selected feature
+ Choose what point to use on the second selected feature
false
@@ -219,7 +219,7 @@
- No Base Geometry selected
+ No Base Geometry selected
color:blue
@@ -238,7 +238,7 @@
-
- Currently using custom point inputs in the Property View of the Data tab
+ Currently using custom point inputs in the Property View of the Data tab
Currently using custom point inputs available in the Property View of the Data tab.
@@ -288,7 +288,7 @@
- Positive extends the beginning of the path, negative shortens
+ Positive extends the beginning of the path, negative shortens
@@ -314,7 +314,7 @@
- Positive extends the end of the path, negative shortens
+ Positive extends the end of the path, negative shortens
@@ -354,7 +354,7 @@
- Complete the operation in a single pass at depth, or multiple passes to final depth
+ Complete the operation in a single pass at depth, or multiple passes to final depth
-
@@ -378,7 +378,7 @@
-
- Choose the path orientation with regard to the feature(s) selected
+ Choose the path orientation with regard to the feature(s) selected
-
@@ -395,7 +395,7 @@
-
- Enable to reverse the cut direction of the slot path
+ Enable to reverse the cut direction of the slot path
Reverse cut direction
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpSurfaceEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpSurfaceEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpThreadMillingEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpThreadMillingEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpThreadMillingEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpThreadMillingEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpVcarveEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpVcarveEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpVcarveEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpVcarveEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PageOpWaterlineEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PageOpWaterlineEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PathEdit.ui
similarity index 99%
rename from src/Mod/Path/Gui/Resources/panels/PathEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PathEdit.ui
index 968dca7e82..dd8c783eee 100644
--- a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/PathEdit.ui
@@ -1404,7 +1404,7 @@ Default: "5mm"
-
- Active Tool
+ Active Tool
diff --git a/src/Mod/Path/Gui/Resources/panels/PointEdit.ui b/src/Mod/CAM/Gui/Resources/panels/PointEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PointEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/PointEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PropertyBag.ui b/src/Mod/CAM/Gui/Resources/panels/PropertyBag.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PropertyBag.ui
rename to src/Mod/CAM/Gui/Resources/panels/PropertyBag.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/PropertyCreate.ui b/src/Mod/CAM/Gui/Resources/panels/PropertyCreate.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/PropertyCreate.ui
rename to src/Mod/CAM/Gui/Resources/panels/PropertyCreate.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/SetupGlobal.ui b/src/Mod/CAM/Gui/Resources/panels/SetupGlobal.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/SetupGlobal.ui
rename to src/Mod/CAM/Gui/Resources/panels/SetupGlobal.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/SetupOp.ui b/src/Mod/CAM/Gui/Resources/panels/SetupOp.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/SetupOp.ui
rename to src/Mod/CAM/Gui/Resources/panels/SetupOp.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/SurfaceEdit.ui b/src/Mod/CAM/Gui/Resources/panels/SurfaceEdit.ui
similarity index 96%
rename from src/Mod/Path/Gui/Resources/panels/SurfaceEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/SurfaceEdit.ui
index a3f874d277..eafef0471a 100644
--- a/src/Mod/Path/Gui/Resources/panels/SurfaceEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/SurfaceEdit.ui
@@ -39,7 +39,7 @@
- :/icons/Path_BaseGeometry.svg:/icons/Path_BaseGeometry.svg
+ :/icons/CAM_BaseGeometry.svg:/icons/CAM_BaseGeometry.svg
Base Geometry
@@ -117,7 +117,7 @@
- :/icons/Path_Depths.svg:/icons/Path_Depths.svg
+ :/icons/CAM_Depths.svg:/icons/CAM_Depths.svg
Depths
@@ -192,7 +192,7 @@
- :/icons/Path_Heights.svg:/icons/Path_Heights.svg
+ :/icons/CAM_Heights.svg:/icons/CAM_Heights.svg
Heights
@@ -242,7 +242,7 @@
- :/icons/Path_OperationB.svg:/icons/Path_OperationB.svg
+ :/icons/CAM_OperationB.svg:/icons/CAM_OperationB.svg
Operation
diff --git a/src/Mod/Path/Gui/Resources/panels/TaskPathCamoticsSim.ui b/src/Mod/CAM/Gui/Resources/panels/TaskPathCamoticsSim.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/TaskPathCamoticsSim.ui
rename to src/Mod/CAM/Gui/Resources/panels/TaskPathCamoticsSim.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/TaskPathSimulator.ui b/src/Mod/CAM/Gui/Resources/panels/TaskPathSimulator.ui
similarity index 94%
rename from src/Mod/Path/Gui/Resources/panels/TaskPathSimulator.ui
rename to src/Mod/CAM/Gui/Resources/panels/TaskPathSimulator.ui
index 8d5e7fec6c..040e814c1d 100644
--- a/src/Mod/Path/Gui/Resources/panels/TaskPathSimulator.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/TaskPathSimulator.ui
@@ -39,7 +39,7 @@
- :/icons/Path_BStop.svg:/icons/Path_BStop.svg
+ :/icons/CAM_BStop.svg:/icons/CAM_BStop.svg
@@ -59,7 +59,7 @@
- :/icons/Path_BPlay.svg:/icons/Path_BPlay.svg
+ :/icons/CAM_BPlay.svg:/icons/CAM_BPlay.svg
@@ -79,7 +79,7 @@
- :/icons/Path_BPause.svg:/icons/Path_BPause.svg
+ :/icons/CAM_BPause.svg:/icons/CAM_BPause.svg
@@ -99,7 +99,7 @@
- :/icons/Path_BStep.svg:/icons/Path_BStep.svg
+ :/icons/CAM_BStep.svg:/icons/CAM_BStep.svg
@@ -119,7 +119,7 @@
- :/icons/Path_BFastForward.svg:/icons/Path_BFastForward.svg
+ :/icons/CAM_BFastForward.svg:/icons/CAM_BFastForward.svg
diff --git a/src/Mod/Path/Gui/Resources/panels/ToolBitEditor.ui b/src/Mod/CAM/Gui/Resources/panels/ToolBitEditor.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/ToolBitEditor.ui
rename to src/Mod/CAM/Gui/Resources/panels/ToolBitEditor.ui
diff --git a/src/Mod/Path/Gui/Resources/panels/ToolBitLibraryEdit.ui b/src/Mod/CAM/Gui/Resources/panels/ToolBitLibraryEdit.ui
similarity index 97%
rename from src/Mod/Path/Gui/Resources/panels/ToolBitLibraryEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/ToolBitLibraryEdit.ui
index 21a0dea14d..d07da00243 100644
--- a/src/Mod/Path/Gui/Resources/panels/ToolBitLibraryEdit.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/ToolBitLibraryEdit.ui
@@ -36,7 +36,7 @@
- :/icons/Path_ToolBit.svg:/icons/Path_ToolBit.svg
+ :/icons/CAM_ToolBit.svg:/icons/CAM_ToolBit.svg
@@ -56,7 +56,7 @@
- :/icons/Path_ToolDuplicate.svg:/icons/Path_ToolDuplicate.svg
+ :/icons/CAM_ToolDuplicate.svg:/icons/CAM_ToolDuplicate.svg
diff --git a/src/Mod/Path/Gui/Resources/panels/ToolBitSelector.ui b/src/Mod/CAM/Gui/Resources/panels/ToolBitSelector.ui
similarity index 97%
rename from src/Mod/Path/Gui/Resources/panels/ToolBitSelector.ui
rename to src/Mod/CAM/Gui/Resources/panels/ToolBitSelector.ui
index f54112a0ae..6876d3c617 100644
--- a/src/Mod/Path/Gui/Resources/panels/ToolBitSelector.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/ToolBitSelector.ui
@@ -57,7 +57,7 @@
- :/icons/Path_ToolTable.svg:/icons/Path_ToolTable.svg
+ :/icons/CAM_ToolTable.svg:/icons/CAM_ToolTable.svg
diff --git a/src/Mod/Path/Gui/Resources/panels/ToolEditor.ui b/src/Mod/CAM/Gui/Resources/panels/ToolEditor.ui
similarity index 98%
rename from src/Mod/Path/Gui/Resources/panels/ToolEditor.ui
rename to src/Mod/CAM/Gui/Resources/panels/ToolEditor.ui
index af490af35e..03ff55b27b 100644
--- a/src/Mod/Path/Gui/Resources/panels/ToolEditor.ui
+++ b/src/Mod/CAM/Gui/Resources/panels/ToolEditor.ui
@@ -193,7 +193,7 @@
-
- D =
+ D =
@@ -210,7 +210,7 @@
-
- d =
+ d =
@@ -227,7 +227,7 @@
-
- H =
+ H =
@@ -264,7 +264,7 @@
false
- S =
+ S =
diff --git a/src/Mod/Path/Gui/Resources/panels/ZCorrectEdit.ui b/src/Mod/CAM/Gui/Resources/panels/ZCorrectEdit.ui
similarity index 100%
rename from src/Mod/Path/Gui/Resources/panels/ZCorrectEdit.ui
rename to src/Mod/CAM/Gui/Resources/panels/ZCorrectEdit.ui
diff --git a/src/Mod/Path/Gui/Resources/preferences/Advanced.ui b/src/Mod/CAM/Gui/Resources/preferences/Advanced.ui
similarity index 96%
rename from src/Mod/Path/Gui/Resources/preferences/Advanced.ui
rename to src/Mod/CAM/Gui/Resources/preferences/Advanced.ui
index ffd8d2ea74..b8cb82864e 100644
--- a/src/Mod/Path/Gui/Resources/preferences/Advanced.ui
+++ b/src/Mod/CAM/Gui/Resources/preferences/Advanced.ui
@@ -35,7 +35,7 @@
WarningSuppressAllSpeeds
- Mod/Path
+ Mod/CAM
@@ -54,7 +54,7 @@
WarningSuppressRapidSpeeds
- Mod/Path
+ Mod/CAM
@@ -73,7 +73,7 @@
WarningSuppressVelocity
- Mod/Path
+ Mod/CAM
@@ -92,7 +92,7 @@
WarningSuppressSelectionMode
- Mod/Path
+ Mod/CAM
@@ -130,7 +130,7 @@
EnableAdvancedOCLFeatures
- Mod/Path
+ Mod/CAM
@@ -149,7 +149,7 @@
WarningSuppressOpenCamLib
- Mod/Path
+ Mod/CAM
diff --git a/src/Mod/Path/Gui/Resources/preferences/PathDressupHoldingTags.ui b/src/Mod/CAM/Gui/Resources/preferences/PathDressupHoldingTags.ui
similarity index 99%
rename from src/Mod/Path/Gui/Resources/preferences/PathDressupHoldingTags.ui
rename to src/Mod/CAM/Gui/Resources/preferences/PathDressupHoldingTags.ui
index ef2bc6797b..8bd419669b 100644
--- a/src/Mod/Path/Gui/Resources/preferences/PathDressupHoldingTags.ui
+++ b/src/Mod/CAM/Gui/Resources/preferences/PathDressupHoldingTags.ui
@@ -106,7 +106,7 @@ If the radius is bigger than that which the tag shape itself supports, the resul
-
- Initial # Tags
+ Initial # Tags
diff --git a/src/Mod/Path/Gui/Resources/preferences/PathJob.ui b/src/Mod/CAM/Gui/Resources/preferences/PathJob.ui
similarity index 98%
rename from src/Mod/Path/Gui/Resources/preferences/PathJob.ui
rename to src/Mod/CAM/Gui/Resources/preferences/PathJob.ui
index 86f5d8c5e0..6421637eb2 100644
--- a/src/Mod/Path/Gui/Resources/preferences/PathJob.ui
+++ b/src/Mod/CAM/Gui/Resources/preferences/PathJob.ui
@@ -6,8 +6,8 @@
0
0
- 440
- 669
+ 707
+ 728
@@ -24,8 +24,8 @@
0
0
- 424
- 268
+ 681
+ 370
@@ -146,8 +146,8 @@ If left empty no template will be preselected.
0
0
- 424
- 432
+ 681
+ 518
@@ -285,7 +285,7 @@ See the file save policy below on how to deal with name conflicts.
-
- Post Processors Selection
+ Post Processors Selection
@@ -312,10 +312,10 @@ See the file save policy below on how to deal with name conflicts.
Select one of the post processors as the default.
- DefaultPostProcessor
+ DefaultPostProcessor
- Mod/Path
+ Mod/CAM
@@ -335,7 +335,7 @@ See the file save policy below on how to deal with name conflicts.
DefaultPostProcessorArgs
- Mod/Path
+ Mod/CAM
@@ -362,8 +362,8 @@ See the file save policy below on how to deal with name conflicts.
0
0
- 411
- 527
+ 662
+ 755
@@ -639,8 +639,8 @@ See the file save policy below on how to deal with name conflicts.
0
0
- 424
- 200
+ 681
+ 171
@@ -652,7 +652,7 @@ See the file save policy below on how to deal with name conflicts.
References to Tool Bits and their shapes can either be stored with an absolute path or with a relative path to the search path.
Generally it is recommended to use relative paths due to their flexibility and robustness to layout changes.
-Should multiple tools or tool shapes with the same name exist in different directories it can be required to use absolute paths.
+Should multiple tools or tool shapes with the same name exist in different directories it can be required to use absolute paths.
Store Absolute Paths
diff --git a/src/Mod/Path/Gui/TaskDlgPathCompound.cpp b/src/Mod/CAM/Gui/TaskDlgPathCompound.cpp
similarity index 98%
rename from src/Mod/Path/Gui/TaskDlgPathCompound.cpp
rename to src/Mod/CAM/Gui/TaskDlgPathCompound.cpp
index a5ff799522..aec3a06a08 100644
--- a/src/Mod/Path/Gui/TaskDlgPathCompound.cpp
+++ b/src/Mod/CAM/Gui/TaskDlgPathCompound.cpp
@@ -46,7 +46,7 @@ using namespace Gui;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TaskWidgetPathCompound::TaskWidgetPathCompound(ViewProviderPathCompound *CompoundView,QWidget *parent)
- : TaskBox(Gui::BitmapFactory().pixmap("Path_Compound"),tr("Compound paths"),true, parent)
+ : TaskBox(Gui::BitmapFactory().pixmap("CAM_Compound"),tr("Compound paths"),true, parent)
{
// we need a separate container widget to add all controls to
proxy = new QWidget(this);
diff --git a/src/Mod/Path/Gui/TaskDlgPathCompound.h b/src/Mod/CAM/Gui/TaskDlgPathCompound.h
similarity index 98%
rename from src/Mod/Path/Gui/TaskDlgPathCompound.h
rename to src/Mod/CAM/Gui/TaskDlgPathCompound.h
index 4ced6cca33..7ddb9a0679 100644
--- a/src/Mod/Path/Gui/TaskDlgPathCompound.h
+++ b/src/Mod/CAM/Gui/TaskDlgPathCompound.h
@@ -25,7 +25,7 @@
#include
#include
-#include
+#include
#include "ViewProviderPathCompound.h"
diff --git a/src/Mod/Path/Gui/TaskDlgPathCompound.ui b/src/Mod/CAM/Gui/TaskDlgPathCompound.ui
similarity index 100%
rename from src/Mod/Path/Gui/TaskDlgPathCompound.ui
rename to src/Mod/CAM/Gui/TaskDlgPathCompound.ui
diff --git a/src/Mod/Path/Gui/ViewProviderArea.cpp b/src/Mod/CAM/Gui/ViewProviderArea.cpp
similarity index 98%
rename from src/Mod/Path/Gui/ViewProviderArea.cpp
rename to src/Mod/CAM/Gui/ViewProviderArea.cpp
index 40d0f6588a..2254445318 100644
--- a/src/Mod/Path/Gui/ViewProviderArea.cpp
+++ b/src/Mod/CAM/Gui/ViewProviderArea.cpp
@@ -23,7 +23,7 @@
#include "PreCompiled.h"
#include
-#include
+#include
#include "ViewProviderArea.h"
@@ -34,7 +34,7 @@ PROPERTY_SOURCE(PathGui::ViewProviderArea, PartGui::ViewProviderPlaneParametric)
ViewProviderArea::ViewProviderArea()
{
- sPixmap = "Path_Area.svg";
+ sPixmap = "CAM_Area.svg";
}
ViewProviderArea::~ViewProviderArea()
@@ -118,7 +118,7 @@ PROPERTY_SOURCE(PathGui::ViewProviderAreaView, PartGui::ViewProviderPlaneParamet
ViewProviderAreaView::ViewProviderAreaView()
{
- sPixmap = "Path_Area_View.svg";
+ sPixmap = "CAM_Area_View.svg";
}
ViewProviderAreaView::~ViewProviderAreaView()
diff --git a/src/Mod/Path/Gui/ViewProviderArea.h b/src/Mod/CAM/Gui/ViewProviderArea.h
similarity index 99%
rename from src/Mod/Path/Gui/ViewProviderArea.h
rename to src/Mod/CAM/Gui/ViewProviderArea.h
index 22d458e554..6877beae96 100644
--- a/src/Mod/Path/Gui/ViewProviderArea.h
+++ b/src/Mod/CAM/Gui/ViewProviderArea.h
@@ -25,7 +25,7 @@
#include
#include
-#include
+#include
namespace PathGui
{
diff --git a/src/Mod/Path/Gui/ViewProviderPath.cpp b/src/Mod/CAM/Gui/ViewProviderPath.cpp
similarity index 98%
rename from src/Mod/Path/Gui/ViewProviderPath.cpp
rename to src/Mod/CAM/Gui/ViewProviderPath.cpp
index 63b24a4bae..0be6dd03af 100644
--- a/src/Mod/Path/Gui/ViewProviderPath.cpp
+++ b/src/Mod/CAM/Gui/ViewProviderPath.cpp
@@ -47,8 +47,8 @@
#include
#include
#include
-#include
-#include
+#include
+#include
#include "ViewProviderPath.h"
@@ -135,7 +135,7 @@ PROPERTY_SOURCE(PathGui::ViewProviderPath, Gui::ViewProviderGeometryObject)
ViewProviderPath::ViewProviderPath()
:pt0Index(-1),blockPropertyChange(false),edgeStart(-1),coordStart(-1),coordEnd(-1)
{
- ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Path");
+ ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/CAM");
unsigned long lcol = hGrp->GetUnsigned("DefaultNormalPathColor",11141375UL); // dark green (0,170,0)
float lr,lg,lb;
lr = ((lcol >> 24) & 0xff) / 255.0; lg = ((lcol >> 16) & 0xff) / 255.0; lb = ((lcol >> 8) & 0xff) / 255.0;
@@ -339,7 +339,7 @@ void ViewProviderPath::onChanged(const App::Property* prop)
} else if (prop == &NormalColor) {
if (!colorindex.empty() && coordStart>=0 && coordStart<(int)colorindex.size()) {
const App::Color& c = NormalColor.getValue();
- ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Path");
+ ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/CAM");
unsigned long rcol = hGrp->GetUnsigned("DefaultRapidPathColor",2852126975UL); // dark red (170,0,0)
float rr,rg,rb;
rr = ((rcol >> 24) & 0xff) / 255.0; rg = ((rcol >> 16) & 0xff) / 255.0; rb = ((rcol >> 8) & 0xff) / 255.0;
@@ -401,7 +401,7 @@ void ViewProviderPath::showBoundingBox(bool show) {
}
unsigned long ViewProviderPath::getBoundColor() const {
- ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Path");
+ ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/CAM");
if(SelectionStyle.getValue() == 0 || !Selectable.getValue())
return hGrp->GetUnsigned("DefaultBBoxNormalColor",4294967295UL); // white (255,255,255)
else
@@ -716,7 +716,7 @@ void ViewProviderPath::recomputeBoundingBox()
QIcon ViewProviderPath::getIcon() const
{
- return Gui::BitmapFactory().pixmap("Path_Toolpath");
+ return Gui::BitmapFactory().pixmap("CAM_Toolpath");
}
// Python object -----------------------------------------------------------------------
diff --git a/src/Mod/Path/Gui/ViewProviderPath.h b/src/Mod/CAM/Gui/ViewProviderPath.h
similarity index 99%
rename from src/Mod/Path/Gui/ViewProviderPath.h
rename to src/Mod/CAM/Gui/ViewProviderPath.h
index 8d9f3864ec..e8bed73f27 100644
--- a/src/Mod/Path/Gui/ViewProviderPath.h
+++ b/src/Mod/CAM/Gui/ViewProviderPath.h
@@ -28,7 +28,7 @@
#include
#include
#include
-#include
+#include
class SoCoordinate3;
diff --git a/src/Mod/Path/Gui/ViewProviderPathCompound.cpp b/src/Mod/CAM/Gui/ViewProviderPathCompound.cpp
similarity index 98%
rename from src/Mod/Path/Gui/ViewProviderPathCompound.cpp
rename to src/Mod/CAM/Gui/ViewProviderPathCompound.cpp
index a6d72afa0e..9c6061ab77 100644
--- a/src/Mod/Path/Gui/ViewProviderPathCompound.cpp
+++ b/src/Mod/CAM/Gui/ViewProviderPathCompound.cpp
@@ -76,7 +76,7 @@ void ViewProviderPathCompound::dropObject(App::DocumentObject* obj)
QIcon ViewProviderPathCompound::getIcon() const
{
- return Gui::BitmapFactory().pixmap("Path_Compound");
+ return Gui::BitmapFactory().pixmap("CAM_Compound");
}
// Python object -----------------------------------------------------------------------
diff --git a/src/Mod/Path/Gui/ViewProviderPathCompound.h b/src/Mod/CAM/Gui/ViewProviderPathCompound.h
similarity index 100%
rename from src/Mod/Path/Gui/ViewProviderPathCompound.h
rename to src/Mod/CAM/Gui/ViewProviderPathCompound.h
diff --git a/src/Mod/Path/Gui/ViewProviderPathShape.cpp b/src/Mod/CAM/Gui/ViewProviderPathShape.cpp
similarity index 97%
rename from src/Mod/Path/Gui/ViewProviderPathShape.cpp
rename to src/Mod/CAM/Gui/ViewProviderPathShape.cpp
index f8e559695d..d4bd7f7bca 100644
--- a/src/Mod/Path/Gui/ViewProviderPathShape.cpp
+++ b/src/Mod/CAM/Gui/ViewProviderPathShape.cpp
@@ -24,7 +24,7 @@
#include
#include
-#include
+#include
#include "ViewProviderPathShape.h"
@@ -36,7 +36,7 @@ PROPERTY_SOURCE(PathGui::ViewProviderPathShape, PathGui::ViewProviderPath)
QIcon ViewProviderPathShape::getIcon() const
{
- return Gui::BitmapFactory().pixmap("Path_Shape");
+ return Gui::BitmapFactory().pixmap("CAM_Shape");
}
std::vector ViewProviderPathShape::claimChildren() const
diff --git a/src/Mod/Path/Gui/ViewProviderPathShape.h b/src/Mod/CAM/Gui/ViewProviderPathShape.h
similarity index 100%
rename from src/Mod/Path/Gui/ViewProviderPathShape.h
rename to src/Mod/CAM/Gui/ViewProviderPathShape.h
diff --git a/src/Mod/Path/Images/Ops/chamfer.svg b/src/Mod/CAM/Images/Ops/chamfer.svg
similarity index 100%
rename from src/Mod/Path/Images/Ops/chamfer.svg
rename to src/Mod/CAM/Images/Ops/chamfer.svg
diff --git a/src/Mod/Path/Images/Tools/drill.svg b/src/Mod/CAM/Images/Tools/drill.svg
similarity index 100%
rename from src/Mod/Path/Images/Tools/drill.svg
rename to src/Mod/CAM/Images/Tools/drill.svg
diff --git a/src/Mod/Path/Images/Tools/endmill.svg b/src/Mod/CAM/Images/Tools/endmill.svg
similarity index 100%
rename from src/Mod/Path/Images/Tools/endmill.svg
rename to src/Mod/CAM/Images/Tools/endmill.svg
diff --git a/src/Mod/Path/Images/Tools/reamer.svg b/src/Mod/CAM/Images/Tools/reamer.svg
similarity index 100%
rename from src/Mod/Path/Images/Tools/reamer.svg
rename to src/Mod/CAM/Images/Tools/reamer.svg
diff --git a/src/Mod/Path/Images/Tools/v-bit.svg b/src/Mod/CAM/Images/Tools/v-bit.svg
similarity index 100%
rename from src/Mod/Path/Images/Tools/v-bit.svg
rename to src/Mod/CAM/Images/Tools/v-bit.svg
diff --git a/src/Mod/Path/Init.py b/src/Mod/CAM/Init.py
similarity index 95%
rename from src/Mod/Path/Init.py
rename to src/Mod/CAM/Init.py
index 138a54ed40..28d09d051d 100644
--- a/src/Mod/Path/Init.py
+++ b/src/Mod/CAM/Init.py
@@ -26,7 +26,7 @@ ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Path")
# Set the needed information
ParGrp.SetString("HelpIndex", "Path/Help/index.html")
-ParGrp.SetString("WorkBenchName", "Path")
+ParGrp.SetString("WorkBenchName", "CAM")
ParGrp.SetString("WorkBenchModule", "PathWorkbench.py")
-FreeCAD.__unit_test__ += ["TestPathApp"]
+FreeCAD.__unit_test__ += ["TestCAMApp"]
diff --git a/src/Mod/Path/InitGui.py b/src/Mod/CAM/InitGui.py
similarity index 74%
rename from src/Mod/Path/InitGui.py
rename to src/Mod/CAM/InitGui.py
index 246ebc6d22..d8b7979f45 100644
--- a/src/Mod/Path/InitGui.py
+++ b/src/Mod/CAM/InitGui.py
@@ -45,15 +45,15 @@ class PathCommandGroup:
return False
-class PathWorkbench(Workbench):
- "Path workbench"
+class CAMWorkbench(Workbench):
+ "CAM workbench"
def __init__(self):
self.__class__.Icon = (
- FreeCAD.getResourceDir() + "Mod/Path/Resources/icons/PathWorkbench.svg"
+ FreeCAD.getResourceDir() + "Mod/CAM/Resources/icons/CAMWorkbench.svg"
)
- self.__class__.MenuText = "Path"
- self.__class__.ToolTip = "Path workbench"
+ self.__class__.MenuText = "CAM"
+ self.__class__.ToolTip = "CAM workbench"
def Initialize(self):
global PathCommandGroup
@@ -84,72 +84,70 @@ class PathWorkbench(Workbench):
import subprocess
from packaging.version import Version, parse
- FreeCADGui.addPreferencePage(PathPreferencesPathJob.JobPreferencesPage, QT_TRANSLATE_NOOP("QObject", "Path"))
+ FreeCADGui.addPreferencePage(PathPreferencesPathJob.JobPreferencesPage, QT_TRANSLATE_NOOP("QObject", "CAM"))
FreeCADGui.addPreferencePage(
- PathPreferencesPathDressup.DressupPreferencesPage, QT_TRANSLATE_NOOP("QObject", "Path")
+ PathPreferencesPathDressup.DressupPreferencesPage, QT_TRANSLATE_NOOP("QObject", "CAM")
)
Path.GuiInit.Startup()
# build commands list
- projcmdlist = ["Path_Job", "Path_Post", "Path_Sanity"]
+ projcmdlist = ["CAM_Job", "CAM_Post", "CAM_Sanity"]
toolcmdlist = [
- "Path_Inspect",
- "Path_Simulator",
- "Path_SelectLoop",
- "Path_OpActiveToggle",
+ "CAM_Inspect",
+ "CAM_Simulator",
+ "CAM_SelectLoop",
+ "CAM_OpActiveToggle",
]
prepcmdlist = [
- "Path_Fixture",
- "Path_Comment",
- "Path_Stop",
- "Path_Custom",
- "Path_Probe",
+ "CAM_Fixture",
+ "CAM_Comment",
+ "CAM_Stop",
+ "CAM_Custom",
+ "CAM_Probe",
]
twodopcmdlist = [
- "Path_Profile",
- "Path_Pocket_Shape",
- "Path_Drilling",
- "Path_MillFace",
- "Path_Helix",
- "Path_Adaptive",
+ "CAM_Profile",
+ "CAM_Pocket_Shape",
+ "CAM_Drilling",
+ "CAM_MillFace",
+ "CAM_Helix",
+ "CAM_Adaptive",
]
- threedopcmdlist = ["Path_Pocket3D"]
- engravecmdlist = ["Path_Engrave", "Path_Deburr", "Path_Vcarve"]
- modcmdlist = ["Path_OperationCopy", "Path_Array", "Path_SimpleCopy"]
+ threedopcmdlist = ["CAM_Pocket3D"]
+ engravecmdlist = ["CAM_Engrave", "CAM_Deburr", "CAM_Vcarve"]
+ modcmdlist = ["CAM_OperationCopy", "CAM_Array", "CAM_SimpleCopy"]
dressupcmdlist = [
- "Path_DressupAxisMap",
- "Path_DressupPathBoundary",
- "Path_DressupDogbone",
- "Path_DressupDragKnife",
- "Path_DressupLeadInOut",
- "Path_DressupRampEntry",
- "Path_DressupTag",
- "Path_DressupZCorrect",
+ "CAM_DressupAxisMap",
+ "CAM_DressupPathBoundary",
+ "CAM_DressupDogbone",
+ "CAM_DressupDragKnife",
+ "CAM_DressupLeadInOut",
+ "CAM_DressupRampEntry",
+ "CAM_DressupTag",
+ "CAM_DressupZCorrect",
]
extracmdlist = []
- # modcmdmore = ["Path_Hop",]
- # remotecmdlist = ["Path_Remote"]
specialcmdlist = []
toolcmdlist.extend(PathToolBitLibraryCmd.BarList)
toolbitcmdlist = PathToolBitLibraryCmd.MenuList
- engravecmdgroup = ["Path_EngraveTools"]
+ engravecmdgroup = ["CAM_EngraveTools"]
FreeCADGui.addCommand(
- "Path_EngraveTools",
+ "CAM_EngraveTools",
PathCommandGroup(
engravecmdlist,
- QT_TRANSLATE_NOOP("Path_EngraveTools", "Engraving Operations"),
+ QT_TRANSLATE_NOOP("CAM_EngraveTools", "Engraving Operations"),
),
)
threedcmdgroup = threedopcmdlist
if Path.Preferences.experimentalFeaturesEnabled():
- prepcmdlist.append("Path_Shape")
- extracmdlist.extend(["Path_Area", "Path_Area_Workplane"])
- specialcmdlist.append("Path_ThreadMilling")
- twodopcmdlist.append("Path_Slot")
+ prepcmdlist.append("CAM_Shape")
+ extracmdlist.extend(["CAM_Area", "CAM_Area_Workplane"])
+ specialcmdlist.append("CAM_ThreadMilling")
+ twodopcmdlist.append("CAM_Slot")
if Path.Preferences.advancedOCLFeaturesEnabled():
try:
@@ -159,7 +157,7 @@ class PathWorkbench(Workbench):
v = parse(r)
if v >= Version("1.2.2"):
- toolcmdlist.append("Path_Camotics")
+ toolcmdlist.append("CAM_Camotics")
except (FileNotFoundError, ModuleNotFoundError):
pass
@@ -171,13 +169,13 @@ class PathWorkbench(Workbench):
from Path.Op.Gui import Surface
from Path.Op.Gui import Waterline
- threedopcmdlist.extend(["Path_Surface", "Path_Waterline"])
- threedcmdgroup = ["Path_3dTools"]
+ threedopcmdlist.extend(["CAM_Surface", "CAM_Waterline"])
+ threedcmdgroup = ["CAM_3dTools"]
FreeCADGui.addCommand(
- "Path_3dTools",
+ "CAM_3dTools",
PathCommandGroup(
threedopcmdlist,
- QT_TRANSLATE_NOOP("Path_3dTools", "3D Operations"),
+ QT_TRANSLATE_NOOP("CAM_3dTools", "3D Operations"),
),
)
except ImportError:
@@ -199,9 +197,9 @@ class PathWorkbench(Workbench):
)
self.appendMenu(
- [QT_TRANSLATE_NOOP("Workbench", "&Path")],
+ [QT_TRANSLATE_NOOP("Workbench", "&CAM")],
projcmdlist
- + ["Path_ExportTemplate", "Separator"]
+ + ["CAM_ExportTemplate", "Separator"]
+ toolcmdlist
+ toolbitcmdlist
+ ["Separator"]
@@ -213,21 +211,21 @@ class PathWorkbench(Workbench):
)
self.appendMenu(
[
- QT_TRANSLATE_NOOP("Workbench", "&Path"),
+ QT_TRANSLATE_NOOP("Workbench", "&CAM"),
QT_TRANSLATE_NOOP("Workbench", "Path Dressup"),
],
dressupcmdlist,
)
self.appendMenu(
[
- QT_TRANSLATE_NOOP("Workbench", "&Path"),
+ QT_TRANSLATE_NOOP("Workbench", "&CAM"),
QT_TRANSLATE_NOOP("Workbench", "Supplemental Commands"),
],
prepcmdlist,
)
self.appendMenu(
[
- QT_TRANSLATE_NOOP("Workbench", "&Path"),
+ QT_TRANSLATE_NOOP("Workbench", "&CAM"),
QT_TRANSLATE_NOOP("Workbench", "Path Modification"),
],
modcmdlist,
@@ -235,21 +233,21 @@ class PathWorkbench(Workbench):
if specialcmdlist:
self.appendMenu(
[
- QT_TRANSLATE_NOOP("Workbench", "&Path"),
+ QT_TRANSLATE_NOOP("Workbench", "&CAM"),
QT_TRANSLATE_NOOP("Workbench", "Specialty Operations"),
],
specialcmdlist,
)
if extracmdlist:
- self.appendMenu([QT_TRANSLATE_NOOP("Workbench", "&Path")], extracmdlist)
+ self.appendMenu([QT_TRANSLATE_NOOP("Workbench", "&CAM")], extracmdlist)
- self.appendMenu([QT_TRANSLATE_NOOP("Workbench", "&Path")], ["Separator"])
+ self.appendMenu([QT_TRANSLATE_NOOP("Workbench", "&CAM")], ["Separator"])
self.appendMenu(
[
- QT_TRANSLATE_NOOP("Workbench", "&Path"),
+ QT_TRANSLATE_NOOP("Workbench", "&CAM"),
QT_TRANSLATE_NOOP("Workbench", "Utils"),
],
- ["Path_PropertyBag"],
+ ["CAM_PropertyBag"],
)
self.dressupcmds = dressupcmdlist
@@ -263,9 +261,9 @@ class PathWorkbench(Workbench):
from Path.Preferences import preferences
FreeCADGui.addPreferencePage(
- PathPreferencesAdvanced.AdvancedPreferencesPage, QT_TRANSLATE_NOOP("QObject", "Path")
+ PathPreferencesAdvanced.AdvancedPreferencesPage, QT_TRANSLATE_NOOP("QObject", "CAM")
)
- Log("Loading Path workbench... done\n")
+ Log("Loading CAM workbench... done\n")
def GetClassName(self):
return "Gui::PythonWorkbench"
@@ -273,10 +271,10 @@ class PathWorkbench(Workbench):
def Activated(self):
# update the translation engine
FreeCADGui.updateLocale()
- # Msg("Path workbench activated\n")
+ # Msg("CAM workbench activated\n")
def Deactivated(self):
- # Msg("Path workbench deactivated\n")
+ # Msg("CAM workbench deactivated\n")
pass
def ContextMenu(self, recipient):
@@ -287,18 +285,18 @@ class PathWorkbench(Workbench):
obj = FreeCADGui.Selection.getSelection()[0]
if obj.isDerivedFrom("Path::Feature"):
self.appendContextMenu("", "Separator")
- self.appendContextMenu("", ["Path_Inspect"])
+ self.appendContextMenu("", ["CAM_Inspect"])
selectedName = obj.Name
if "Remote" in selectedName:
self.appendContextMenu("", ["Refresh_Path"])
if "Job" in selectedName:
self.appendContextMenu(
- "", ["Path_ExportTemplate"] + self.toolbitctxmenu
+ "", ["CAM_ExportTemplate"] + self.toolbitctxmenu
)
menuAppended = True
if isinstance(obj.Proxy, Path.Op.Base.ObjectOp):
self.appendContextMenu(
- "", ["Path_OperationCopy", "Path_OpActiveToggle"]
+ "", ["CAM_OperationCopy", "CAM_OpActiveToggle"]
)
menuAppended = True
if obj.isDerivedFrom("Path::Feature"):
@@ -314,12 +312,12 @@ class PathWorkbench(Workbench):
self.appendContextMenu("", [cmd])
menuAppended = True
if isinstance(obj.Proxy, Path.Tool.Bit.ToolBit):
- self.appendContextMenu("", ["Path_ToolBitSave", "Path_ToolBitSaveAs"])
+ self.appendContextMenu("", ["CAM_ToolBitSave", "CAM_ToolBitSaveAs"])
menuAppended = True
if menuAppended:
self.appendContextMenu("", "Separator")
-Gui.addWorkbench(PathWorkbench())
+Gui.addWorkbench(CAMWorkbench())
FreeCAD.addImportType("GCode (*.nc *.NC *.gc *.GC *.ncc *.NCC *.ngc *.NGC *.cnc *.CNC *.tap *.TAP *.gcode *.GCODE)", "PathGui")
diff --git a/src/Mod/Path/Path/Base/Drillable.py b/src/Mod/CAM/Path/Base/Drillable.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Drillable.py
rename to src/Mod/CAM/Path/Base/Drillable.py
diff --git a/src/Mod/Path/Path/Base/FeedRate.py b/src/Mod/CAM/Path/Base/FeedRate.py
similarity index 100%
rename from src/Mod/Path/Path/Base/FeedRate.py
rename to src/Mod/CAM/Path/Base/FeedRate.py
diff --git a/src/Mod/Path/Path/Base/Generator/__init__.py b/src/Mod/CAM/Path/Base/Generator/__init__.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Generator/__init__.py
rename to src/Mod/CAM/Path/Base/Generator/__init__.py
diff --git a/src/Mod/Path/Path/Base/Generator/dogboneII.py b/src/Mod/CAM/Path/Base/Generator/dogboneII.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Generator/dogboneII.py
rename to src/Mod/CAM/Path/Base/Generator/dogboneII.py
diff --git a/src/Mod/Path/Path/Base/Generator/drill.py b/src/Mod/CAM/Path/Base/Generator/drill.py
similarity index 99%
rename from src/Mod/Path/Path/Base/Generator/drill.py
rename to src/Mod/CAM/Path/Base/Generator/drill.py
index 9cdc8579af..a8da08c431 100644
--- a/src/Mod/Path/Path/Base/Generator/drill.py
+++ b/src/Mod/CAM/Path/Base/Generator/drill.py
@@ -24,7 +24,7 @@
import Path
import numpy
-__title__ = "Drilling Path Generator"
+__title__ = "Drilling Toolpath Generator"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Generates the drilling toolpath for a single spotshape"
diff --git a/src/Mod/Path/Path/Base/Generator/helix.py b/src/Mod/CAM/Path/Base/Generator/helix.py
similarity index 98%
rename from src/Mod/Path/Path/Base/Generator/helix.py
rename to src/Mod/CAM/Path/Base/Generator/helix.py
index bbb06ca084..1ea355c518 100644
--- a/src/Mod/Path/Path/Base/Generator/helix.py
+++ b/src/Mod/CAM/Path/Base/Generator/helix.py
@@ -24,10 +24,10 @@
from numpy import ceil, linspace, isclose
import Path
-__title__ = "Helix Path Generator"
+__title__ = "Helix toolpath Generator"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
-__doc__ = "Generates the helix for a single spot targetshape"
+__doc__ = "Generates the helical toolpath for a single spot targetshape"
__contributors__ = "russ4262 (Russell Johnson), Lorenz Hüdepohl"
diff --git a/src/Mod/Path/Path/Base/Generator/rotation.py b/src/Mod/CAM/Path/Base/Generator/rotation.py
similarity index 99%
rename from src/Mod/Path/Path/Base/Generator/rotation.py
rename to src/Mod/CAM/Path/Base/Generator/rotation.py
index 9869f662ea..fae6e8cf70 100644
--- a/src/Mod/Path/Path/Base/Generator/rotation.py
+++ b/src/Mod/CAM/Path/Base/Generator/rotation.py
@@ -30,7 +30,7 @@ import Path
import FreeCAD
from enum import Enum
-__title__ = "Rotation Path Generator"
+__title__ = "Rotation toolpath Generator"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Generates the rotation toolpath"
diff --git a/src/Mod/Path/Path/Base/Generator/threadmilling.py b/src/Mod/CAM/Path/Base/Generator/threadmilling.py
similarity index 98%
rename from src/Mod/Path/Path/Base/Generator/threadmilling.py
rename to src/Mod/CAM/Path/Base/Generator/threadmilling.py
index c691602104..aa7efa3f76 100644
--- a/src/Mod/Path/Path/Base/Generator/threadmilling.py
+++ b/src/Mod/CAM/Path/Base/Generator/threadmilling.py
@@ -25,10 +25,10 @@ import Path
import math
from PySide.QtCore import QT_TRANSLATE_NOOP
-__title__ = "Path Thread Milling generator"
+__title__ = "CAM Thread Milling generator"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
-__doc__ = "Path thread milling operation."
+__doc__ = "CAM thread milling operation."
if False:
Path.Log.setLevel(Path.Log.Level.DEBUG, Path.Log.thisModule())
diff --git a/src/Mod/Path/Path/Base/Generator/toolchange.py b/src/Mod/CAM/Path/Base/Generator/toolchange.py
similarity index 98%
rename from src/Mod/Path/Path/Base/Generator/toolchange.py
rename to src/Mod/CAM/Path/Base/Generator/toolchange.py
index 994b094ee5..02ad2475c4 100644
--- a/src/Mod/Path/Path/Base/Generator/toolchange.py
+++ b/src/Mod/CAM/Path/Base/Generator/toolchange.py
@@ -24,7 +24,7 @@
import Path
from enum import Enum
-__title__ = "Toolchange Path Generator"
+__title__ = "Toolchange toolpath Generator"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Generates the rotation toolpath"
diff --git a/src/Mod/Path/Path/Base/Gui/GetPoint.py b/src/Mod/CAM/Path/Base/Gui/GetPoint.py
similarity index 99%
rename from src/Mod/Path/Path/Base/Gui/GetPoint.py
rename to src/Mod/CAM/Path/Base/Gui/GetPoint.py
index 2e4c4f917e..0b893b6e42 100644
--- a/src/Mod/Path/Path/Base/Gui/GetPoint.py
+++ b/src/Mod/CAM/Path/Base/Gui/GetPoint.py
@@ -32,7 +32,7 @@ Draft = LazyLoader("Draft", globals(), "Draft")
from PySide import QtCore, QtGui
from pivy import coin
-__title__ = "Path GetPoint UI"
+__title__ = "CAM GetPoint UI"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Helper class to use FreeCADGUi.Snapper to let the user enter arbitrary points while the task panel is active."
diff --git a/src/Mod/Path/Path/Base/Gui/IconViewProvider.py b/src/Mod/CAM/Path/Base/Gui/IconViewProvider.py
similarity index 97%
rename from src/Mod/Path/Path/Base/Gui/IconViewProvider.py
rename to src/Mod/CAM/Path/Base/Gui/IconViewProvider.py
index c92531cc6e..6154b3307f 100644
--- a/src/Mod/Path/Path/Base/Gui/IconViewProvider.py
+++ b/src/Mod/CAM/Path/Base/Gui/IconViewProvider.py
@@ -25,7 +25,7 @@ import Path
import PathGui
import importlib
-__title__ = "Path Icon ViewProvider"
+__title__ = "CAM Icon ViewProvider"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "ViewProvider who's main and only task is to assign an icon."
@@ -69,7 +69,7 @@ class ViewProvider(object):
self.editCallback = state["editCallback"]
def getIcon(self):
- return ":/icons/Path_{}.svg".format(self.icon)
+ return ":/icons/CAM_{}.svg".format(self.icon)
def onEdit(self, callback):
self.editModule = callback.__module__
diff --git a/src/Mod/Path/Path/Base/Gui/PreferencesAdvanced.py b/src/Mod/CAM/Path/Base/Gui/PreferencesAdvanced.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Gui/PreferencesAdvanced.py
rename to src/Mod/CAM/Path/Base/Gui/PreferencesAdvanced.py
diff --git a/src/Mod/Path/Path/Base/Gui/PropertyBag.py b/src/Mod/CAM/Path/Base/Gui/PropertyBag.py
similarity index 98%
rename from src/Mod/Path/Path/Base/Gui/PropertyBag.py
rename to src/Mod/CAM/Path/Base/Gui/PropertyBag.py
index 1dc4b01e14..d40c95f3bc 100644
--- a/src/Mod/Path/Path/Base/Gui/PropertyBag.py
+++ b/src/Mod/CAM/Path/Base/Gui/PropertyBag.py
@@ -436,9 +436,9 @@ class PropertyBagCreateCommand(object):
def GetResources(self):
return {
- "MenuText": translate("Path_PropertyBag", "PropertyBag"),
+ "MenuText": translate("CAM_PropertyBag", "PropertyBag"),
"ToolTip": translate(
- "Path_PropertyBag",
+ "CAM_PropertyBag",
"Creates an object which can be used to store reference properties.",
),
}
@@ -463,6 +463,6 @@ class PropertyBagCreateCommand(object):
if FreeCAD.GuiUp:
- FreeCADGui.addCommand("Path_PropertyBag", PropertyBagCreateCommand())
+ FreeCADGui.addCommand("CAM_PropertyBag", PropertyBagCreateCommand())
FreeCAD.Console.PrintLog("Loading PathPropertyBagGui ... done\n")
diff --git a/src/Mod/Path/Path/Base/Gui/PropertyEditor.py b/src/Mod/CAM/Path/Base/Gui/PropertyEditor.py
similarity index 99%
rename from src/Mod/Path/Path/Base/Gui/PropertyEditor.py
rename to src/Mod/CAM/Path/Base/Gui/PropertyEditor.py
index 81fc1d62d7..7dac3f4c5f 100644
--- a/src/Mod/Path/Path/Base/Gui/PropertyEditor.py
+++ b/src/Mod/CAM/Path/Base/Gui/PropertyEditor.py
@@ -26,7 +26,7 @@ import Path.Base.SetupSheetOpPrototype as PathSetupSheetOpPrototype
from PySide import QtCore, QtGui
-__title__ = "Path Property Editor"
+__title__ = "CAM Property Editor"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Task panel editor for Properties"
diff --git a/src/Mod/Path/Path/Base/Gui/SetupSheet.py b/src/Mod/CAM/Path/Base/Gui/SetupSheet.py
similarity index 99%
rename from src/Mod/Path/Path/Base/Gui/SetupSheet.py
rename to src/Mod/CAM/Path/Base/Gui/SetupSheet.py
index 8c8b5cf98a..beac01ca1b 100644
--- a/src/Mod/Path/Path/Base/Gui/SetupSheet.py
+++ b/src/Mod/CAM/Path/Base/Gui/SetupSheet.py
@@ -65,7 +65,7 @@ class ViewProvider:
self.obj = vobj.Object
def getIcon(self):
- return ":/icons/Path_SetupSheet.svg"
+ return ":/icons/CAM_SetupSheet.svg"
def dumps(self):
return None
diff --git a/src/Mod/Path/Path/Base/Gui/SetupSheetOpPrototype.py b/src/Mod/CAM/Path/Base/Gui/SetupSheetOpPrototype.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Gui/SetupSheetOpPrototype.py
rename to src/Mod/CAM/Path/Base/Gui/SetupSheetOpPrototype.py
diff --git a/src/Mod/Path/Path/Base/Gui/Util.py b/src/Mod/CAM/Path/Base/Gui/Util.py
similarity index 99%
rename from src/Mod/Path/Path/Base/Gui/Util.py
rename to src/Mod/CAM/Path/Base/Gui/Util.py
index a958705441..af349a3444 100644
--- a/src/Mod/Path/Path/Base/Gui/Util.py
+++ b/src/Mod/CAM/Path/Base/Gui/Util.py
@@ -28,10 +28,10 @@ from PySide import QtGui, QtCore
from PySide import QtCore, QtGui
-__title__ = "Path UI helper and utility functions"
+__title__ = "CAM UI helper and utility functions"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
-__doc__ = "A collection of helper and utility functions for the Path GUI."
+__doc__ = "A collection of helper and utility functions for the CAM GUI."
if False:
diff --git a/src/Mod/Path/Path/Base/Gui/__init__.py b/src/Mod/CAM/Path/Base/Gui/__init__.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Gui/__init__.py
rename to src/Mod/CAM/Path/Base/Gui/__init__.py
diff --git a/src/Mod/Path/Path/Base/Language.py b/src/Mod/CAM/Path/Base/Language.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Language.py
rename to src/Mod/CAM/Path/Base/Language.py
diff --git a/src/Mod/Path/Path/Base/MachineState.py b/src/Mod/CAM/Path/Base/MachineState.py
similarity index 99%
rename from src/Mod/Path/Path/Base/MachineState.py
rename to src/Mod/CAM/Path/Base/MachineState.py
index 1f9ba916f2..70f6689752 100644
--- a/src/Mod/Path/Path/Base/MachineState.py
+++ b/src/Mod/CAM/Path/Base/MachineState.py
@@ -20,7 +20,7 @@
# * *
# ***************************************************************************
-__title__ = "Path Machine State"
+__title__ = "CAM Machine State"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Dataclass to implement a machinestate tracker"
diff --git a/src/Mod/Path/Path/Base/Property.py b/src/Mod/CAM/Path/Base/Property.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Property.py
rename to src/Mod/CAM/Path/Base/Property.py
diff --git a/src/Mod/Path/Path/Base/PropertyBag.py b/src/Mod/CAM/Path/Base/PropertyBag.py
similarity index 100%
rename from src/Mod/Path/Path/Base/PropertyBag.py
rename to src/Mod/CAM/Path/Base/PropertyBag.py
diff --git a/src/Mod/Path/Path/Base/SetupSheet.py b/src/Mod/CAM/Path/Base/SetupSheet.py
similarity index 100%
rename from src/Mod/Path/Path/Base/SetupSheet.py
rename to src/Mod/CAM/Path/Base/SetupSheet.py
diff --git a/src/Mod/Path/Path/Base/SetupSheetOpPrototype.py b/src/Mod/CAM/Path/Base/SetupSheetOpPrototype.py
similarity index 100%
rename from src/Mod/Path/Path/Base/SetupSheetOpPrototype.py
rename to src/Mod/CAM/Path/Base/SetupSheetOpPrototype.py
diff --git a/src/Mod/Path/Path/Base/Util.py b/src/Mod/CAM/Path/Base/Util.py
similarity index 100%
rename from src/Mod/Path/Path/Base/Util.py
rename to src/Mod/CAM/Path/Base/Util.py
diff --git a/src/Mod/Path/Path/Base/__init__.py b/src/Mod/CAM/Path/Base/__init__.py
similarity index 100%
rename from src/Mod/Path/Path/Base/__init__.py
rename to src/Mod/CAM/Path/Base/__init__.py
diff --git a/src/Mod/Path/Path/Dressup/Boundary.py b/src/Mod/CAM/Path/Dressup/Boundary.py
similarity index 99%
rename from src/Mod/Path/Path/Dressup/Boundary.py
rename to src/Mod/CAM/Path/Dressup/Boundary.py
index 2305b888a3..58af8071fa 100644
--- a/src/Mod/Path/Path/Dressup/Boundary.py
+++ b/src/Mod/CAM/Path/Dressup/Boundary.py
@@ -301,7 +301,7 @@ def Create(base, name="DressupPathBoundary"):
if not base.isDerivedFrom("Path::Feature"):
Path.Log.error(
- translate("Path_DressupPathBoundary", "The selected object is not a path")
+ translate("CAM_DressupPathBoundary", "The selected object is not a path")
+ "\n"
)
return None
diff --git a/src/Mod/Path/Path/Dressup/DogboneII.py b/src/Mod/CAM/Path/Dressup/DogboneII.py
similarity index 100%
rename from src/Mod/Path/Path/Dressup/DogboneII.py
rename to src/Mod/CAM/Path/Dressup/DogboneII.py
diff --git a/src/Mod/Path/Path/Dressup/Gui/AxisMap.py b/src/Mod/CAM/Path/Dressup/Gui/AxisMap.py
similarity index 96%
rename from src/Mod/Path/Path/Dressup/Gui/AxisMap.py
rename to src/Mod/CAM/Path/Dressup/Gui/AxisMap.py
index 2f0e7a786d..d6da52e895 100644
--- a/src/Mod/Path/Path/Dressup/Gui/AxisMap.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/AxisMap.py
@@ -259,11 +259,11 @@ class ViewProviderDressup:
class CommandPathDressup:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupAxisMap", "Axis Map"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupAxisMap", "Axis Map"),
"Accel": "",
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupAxisMap", "Remap one axis to another."
+ "CAM_DressupAxisMap", "Remap one axis to another."
),
}
@@ -280,17 +280,17 @@ class CommandPathDressup:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
FreeCAD.Console.PrintError(
- translate("Path_Dressup", "Please select one path object\n")
+ translate("CAM_Dressup", "Please select one toolpath object\n")
)
return
if not selection[0].isDerivedFrom("Path::Feature"):
FreeCAD.Console.PrintError(
- translate("Path_Dressup", "The selected object is not a path\n")
+ translate("CAM_Dressup", "The selected object is not a toolpath\n")
)
return
if selection[0].isDerivedFrom("Path::FeatureCompoundPython"):
FreeCAD.Console.PrintError(
- translate("Path_Dressup", "Please select a Path object")
+ translate("CAM_Dressup", "Please select a toolpath object")
)
return
@@ -320,6 +320,6 @@ class CommandPathDressup:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupAxisMap", CommandPathDressup())
+ FreeCADGui.addCommand("CAM_DressupAxisMap", CommandPathDressup())
FreeCAD.Console.PrintLog("Loading PathDressup... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/Boundary.py b/src/Mod/CAM/Path/Dressup/Gui/Boundary.py
similarity index 96%
rename from src/Mod/Path/Path/Dressup/Gui/Boundary.py
rename to src/Mod/CAM/Path/Dressup/Gui/Boundary.py
index e27c0169e8..e20c84f32c 100644
--- a/src/Mod/Path/Path/Dressup/Gui/Boundary.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/Boundary.py
@@ -259,11 +259,11 @@ def Create(base, name="DressupPathBoundary"):
class CommandPathDressupPathBoundary:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupPathBoundary", "Boundary"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupPathBoundary", "Boundary"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupPathBoundary",
- "Creates a Path Boundary Dress-up from a selected path",
+ "CAM_DressupPathBoundary",
+ "Creates a Boundary Dress-up from a selected toolpath",
),
}
@@ -279,7 +279,7 @@ class CommandPathDressupPathBoundary:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
Path.Log.error(
- translate("Path_DressupPathBoundary", "Please select one path object")
+ translate("CAM_DressupPathBoundary", "Please select one toolpath object")
+ "\n"
)
return
@@ -297,6 +297,6 @@ class CommandPathDressupPathBoundary:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupPathBoundary", CommandPathDressupPathBoundary())
+ FreeCADGui.addCommand("CAM_DressupPathBoundary", CommandPathDressupPathBoundary())
Path.Log.notice("Loading PathDressupPathBoundaryGui... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/Dogbone.py b/src/Mod/CAM/Path/Dressup/Gui/Dogbone.py
similarity index 99%
rename from src/Mod/Path/Path/Dressup/Gui/Dogbone.py
rename to src/Mod/CAM/Path/Dressup/Gui/Dogbone.py
index be11dc11fa..f3b4a8d619 100644
--- a/src/Mod/Path/Path/Dressup/Gui/Dogbone.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/Dogbone.py
@@ -1357,11 +1357,11 @@ def Create(base, name="DogboneDressup"):
class CommandDressupDogbone(object):
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupDogbone", "Dogbone"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupDogbone", "Dogbone"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupDogbone",
- "Creates a Dogbone Dress-up object from a selected path",
+ "CAM_DressupDogbone",
+ "Creates a Dogbone Dress-up object from a selected toolpath",
),
}
@@ -1378,13 +1378,13 @@ class CommandDressupDogbone(object):
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
FreeCAD.Console.PrintError(
- translate("Path_DressupDogbone", "Please select one path object") + "\n"
+ translate("CAM_DressupDogbone", "Please select one toolpath object") + "\n"
)
return
baseObject = selection[0]
if not baseObject.isDerivedFrom("Path::Feature"):
FreeCAD.Console.PrintError(
- translate("Path_DressupDogbone", "The selected object is not a path")
+ translate("CAM_DressupDogbone", "The selected object is not a toolpath")
+ "\n"
)
return
@@ -1406,6 +1406,6 @@ class CommandDressupDogbone(object):
# from PySide import QtGui
# from pivy import coin
#
-# FreeCADGui.addCommand("Path_DressupDogbone", CommandDressupDogbone())
+# FreeCADGui.addCommand("CAM_DressupDogbone", CommandDressupDogbone())
FreeCAD.Console.PrintLog("Loading DressupDogbone... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/DogboneII.py b/src/Mod/CAM/Path/Dressup/Gui/DogboneII.py
similarity index 96%
rename from src/Mod/Path/Path/Dressup/Gui/DogboneII.py
rename to src/Mod/CAM/Path/Dressup/Gui/DogboneII.py
index 5c3ecfea27..198beecf57 100644
--- a/src/Mod/Path/Path/Dressup/Gui/DogboneII.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/DogboneII.py
@@ -325,11 +325,11 @@ def Create(base, name="DressupDogbone"):
class CommandDressupDogboneII(object):
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupDogbone", "Dogbone"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupDogbone", "Dogbone"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupDogbone",
- "Creates a Dogbone Dress-up object from a selected path",
+ "CAM_DressupDogbone",
+ "Creates a Dogbone Dress-up object from a selected toolpath",
),
}
@@ -346,13 +346,13 @@ class CommandDressupDogboneII(object):
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
FreeCAD.Console.PrintError(
- translate("Path_DressupDogbone", "Please select one path object") + "\n"
+ translate("CAM_DressupDogbone", "Please select one toolpath object") + "\n"
)
return
baseObject = selection[0]
if not baseObject.isDerivedFrom("Path::Feature"):
FreeCAD.Console.PrintError(
- translate("Path_DressupDogbone", "The selected object is not a path")
+ translate("CAM_DressupDogbone", "The selected object is not a toolpath")
+ "\n"
)
return
@@ -373,6 +373,6 @@ if FreeCAD.GuiUp:
from PySide import QtGui
from pivy import coin
- FreeCADGui.addCommand("Path_DressupDogbone", CommandDressupDogboneII())
+ FreeCADGui.addCommand("CAM_DressupDogbone", CommandDressupDogboneII())
FreeCAD.Console.PrintLog("Loading DressupDogboneII ... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/Dragknife.py b/src/Mod/CAM/Path/Dressup/Gui/Dragknife.py
similarity index 97%
rename from src/Mod/Path/Path/Dressup/Gui/Dragknife.py
rename to src/Mod/CAM/Path/Dressup/Gui/Dragknife.py
index 301174b8c7..102fd9ed7f 100644
--- a/src/Mod/Path/Path/Dressup/Gui/Dragknife.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/Dragknife.py
@@ -55,7 +55,7 @@ class ObjectDressup:
"App::PropertyLink",
"Base",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "The base path to modify"),
+ QT_TRANSLATE_NOOP("App::Property", "The base toolpath to modify"),
)
obj.addProperty(
"App::PropertyAngle",
@@ -597,11 +597,11 @@ class ViewProviderDressup:
class CommandDressupDragknife:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupDragKnife", "DragKnife"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupDragKnife", "DragKnife"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupDragKnife",
- "Modifies a path to add dragknife corner actions",
+ "CAM_DressupDragKnife",
+ "Modifies a toolpath to add dragknife corner actions",
),
}
@@ -618,19 +618,19 @@ class CommandDressupDragknife:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
FreeCAD.Console.PrintError(
- translate("Path_DressupDragKnife", "Please select one path object")
+ translate("CAM_DressupDragKnife", "Please select one toolpath object")
+ "\n"
)
return
if not selection[0].isDerivedFrom("Path::Feature"):
FreeCAD.Console.PrintError(
- translate("Path_DressupDragKnife", "The selected object is not a path")
+ translate("CAM_DressupDragKnife", "The selected object is not a toolpath")
+ "\n"
)
return
if selection[0].isDerivedFrom("Path::FeatureCompoundPython"):
FreeCAD.Console.PrintError(
- translate("Path_DressupDragKnife", "Please select a Path object")
+ translate("CAM_DressupDragKnife", "Please select a toolpath object")
)
return
@@ -663,6 +663,6 @@ class CommandDressupDragknife:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupDragKnife", CommandDressupDragknife())
+ FreeCADGui.addCommand("CAM_DressupDragKnife", CommandDressupDragknife())
-FreeCAD.Console.PrintLog("Loading Path_DressupDragKnife... done\n")
+FreeCAD.Console.PrintLog("Loading CAM_DressupDragKnife... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py
similarity index 94%
rename from src/Mod/Path/Path/Dressup/Gui/LeadInOut.py
rename to src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py
index dbd2ac8620..f44b8b6b1f 100644
--- a/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py
@@ -49,34 +49,34 @@ else:
class ObjectDressup:
def __init__(self, obj):
lead_styles = [
- QT_TRANSLATE_NOOP("Path_DressupLeadInOut", "Arc"),
- QT_TRANSLATE_NOOP("Path_DressupLeadInOut", "Tangent"),
- QT_TRANSLATE_NOOP("Path_DressupLeadInOut", "Perpendicular"),
+ QT_TRANSLATE_NOOP("CAM_DressupLeadInOut", "Arc"),
+ QT_TRANSLATE_NOOP("CAM_DressupLeadInOut", "Tangent"),
+ QT_TRANSLATE_NOOP("CAM_DressupLeadInOut", "Perpendicular"),
]
self.obj = obj
obj.addProperty(
"App::PropertyLink",
"Base",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "The base path to modify"),
+ QT_TRANSLATE_NOOP("App::Property", "The base toolpath to modify"),
)
obj.addProperty(
"App::PropertyBool",
"LeadIn",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "Calculate roll-on to path"),
+ QT_TRANSLATE_NOOP("App::Property", "Calculate roll-on to toolpath"),
)
obj.addProperty(
"App::PropertyBool",
"LeadOut",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "Calculate roll-off from path"),
+ QT_TRANSLATE_NOOP("App::Property", "Calculate roll-off from toolpath"),
)
obj.addProperty(
"App::PropertyBool",
"KeepToolDown",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "Keep the Tool Down in Path"),
+ QT_TRANSLATE_NOOP("App::Property", "Keep the Tool Down in toolpath"),
)
obj.addProperty(
"App::PropertyDistance",
@@ -94,14 +94,14 @@ class ObjectDressup:
"App::PropertyEnumeration",
"StyleOn",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "The Style of motion into the Path"),
+ QT_TRANSLATE_NOOP("App::Property", "The Style of motion into the toolpath"),
)
obj.StyleOn = lead_styles
obj.addProperty(
"App::PropertyEnumeration",
"StyleOff",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "The Style of motion out of the Path"),
+ QT_TRANSLATE_NOOP("App::Property", "The Style of motion out of the toolpath"),
)
obj.StyleOff = lead_styles
obj.addProperty(
@@ -164,14 +164,14 @@ class ObjectDressup:
if obj.Length <= 0:
Path.Log.error(
- translate("Path_DressupLeadInOut", "Length/Radius positive not Null")
+ translate("CAM_DressupLeadInOut", "Length/Radius positive not Null")
+ "\n"
)
obj.Length = 0.1
if obj.LengthOut <= 0:
Path.Log.error(
- translate("Path_DressupLeadInOut", "Length/Radius positive not Null")
+ translate("CAM_DressupLeadInOut", "Length/Radius positive not Null")
+ "\n"
)
obj.LengthOut = 0.1
@@ -460,10 +460,10 @@ class ViewProviderDressup:
class CommandPathDressupLeadInOut:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupLeadInOut", "LeadInOut"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupLeadInOut", "LeadInOut"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupLeadInOut",
+ "CAM_DressupLeadInOut",
"Creates a Cutter Radius Compensation G41/G42 Entry Dressup object from a selected path",
),
}
@@ -479,20 +479,20 @@ class CommandPathDressupLeadInOut:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
Path.Log.error(
- translate("Path_DressupLeadInOut", "Please select one path object")
+ translate("CAM_DressupLeadInOut", "Please select one toolpath object")
+ "\n"
)
return
baseObject = selection[0]
if not baseObject.isDerivedFrom("Path::Feature"):
Path.Log.error(
- translate("Path_DressupLeadInOut", "The selected object is not a path")
+ translate("CAM_DressupLeadInOut", "The selected object is not a toolpath")
+ "\n"
)
return
if baseObject.isDerivedFrom("Path::FeatureCompoundPython"):
Path.Log.error(
- translate("Path_DressupLeadInOut", "Please select a Profile object")
+ translate("CAM_DressupLeadInOut", "Please select a Profile object")
)
return
@@ -521,6 +521,6 @@ class CommandPathDressupLeadInOut:
if App.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupLeadInOut", CommandPathDressupLeadInOut())
+ FreeCADGui.addCommand("CAM_DressupLeadInOut", CommandPathDressupLeadInOut())
-Path.Log.notice("Loading Path_DressupLeadInOut... done\n")
+Path.Log.notice("Loading CAM_DressupLeadInOut... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/Preferences.py b/src/Mod/CAM/Path/Dressup/Gui/Preferences.py
similarity index 96%
rename from src/Mod/Path/Path/Dressup/Gui/Preferences.py
rename to src/Mod/CAM/Path/Dressup/Gui/Preferences.py
index 18fa63336f..563b57ceee 100644
--- a/src/Mod/Path/Path/Dressup/Gui/Preferences.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/Preferences.py
@@ -36,7 +36,7 @@ def RegisterDressup(dressup):
class DressupPreferencesPage:
def __init__(self, parent=None):
self.form = QtGui.QToolBox()
- self.form.setWindowTitle(translate("Path_PreferencesPathDressup", "Dressups"))
+ self.form.setWindowTitle(translate("CAM_PreferencesPathDressup", "Dressups"))
pages = []
for dressup in _dressups:
page = dressup.preferencesPage()
diff --git a/src/Mod/Path/Path/Dressup/Gui/RampEntry.py b/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py
similarity index 96%
rename from src/Mod/Path/Path/Dressup/Gui/RampEntry.py
rename to src/Mod/CAM/Path/Dressup/Gui/RampEntry.py
index ec79e763ce..d8fa6fbdc8 100644
--- a/src/Mod/Path/Path/Dressup/Gui/RampEntry.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py
@@ -54,7 +54,7 @@ class ObjectDressup:
"App::PropertyLink",
"Base",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "The base path to modify"),
+ QT_TRANSLATE_NOOP("App::Property", "The base toolpath to modify"),
)
obj.addProperty(
"App::PropertyAngle",
@@ -128,25 +128,25 @@ class ObjectDressup:
enums = {
"Method": [
- (translate("Path_DressupRampEntry", "RampMethod1"), "RampMethod1"),
- (translate("Path_DressupRampEntry", "RampMethod2"), "RampMethod2"),
- (translate("Path_DressupRampEntry", "RampMethod3"), "RampMethod3"),
- (translate("Path_DressupRampEntry", "Helix"), "Helix"),
+ (translate("CAM_DressupRampEntry", "RampMethod1"), "RampMethod1"),
+ (translate("CAM_DressupRampEntry", "RampMethod2"), "RampMethod2"),
+ (translate("CAM_DressupRampEntry", "RampMethod3"), "RampMethod3"),
+ (translate("CAM_DressupRampEntry", "Helix"), "Helix"),
],
"RampFeedRate": [
(
- translate("Path_DressupRampEntry", "Horizontal Feed Rate"),
+ translate("CAM_DressupRampEntry", "Horizontal Feed Rate"),
"Horizontal Feed Rate",
),
(
- translate("Path_DressupRampEntry", "Vertical Feed Rate"),
+ translate("CAM_DressupRampEntry", "Vertical Feed Rate"),
"Vertical Feed Rate",
),
(
- translate("Path_DressupRampEntry", "Ramp Feed Rate"),
+ translate("CAM_DressupRampEntry", "Ramp Feed Rate"),
"Ramp Feed Rate",
),
- (translate("Path_DressupRampEntry", "Custom"), "Custom"),
+ (translate("CAM_DressupRampEntry", "Custom"), "Custom"),
],
}
@@ -894,11 +894,11 @@ class ViewProviderDressup:
class CommandPathDressupRampEntry:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupRampEntry", "RampEntry"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupRampEntry", "RampEntry"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupRampEntry",
- "Creates a Ramp Entry Dress-up object from a selected path",
+ "CAM_DressupRampEntry",
+ "Creates a Ramp Entry Dress-up object from a selected toolpath",
),
}
@@ -914,20 +914,20 @@ class CommandPathDressupRampEntry:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
Path.Log.error(
- translate("Path_DressupRampEntry", "Please select one path object")
+ translate("CAM_DressupRampEntry", "Please select one toolpath object")
+ "\n"
)
return
baseObject = selection[0]
if not baseObject.isDerivedFrom("Path::Feature"):
Path.Log.error(
- translate("Path_DressupRampEntry", "The selected object is not a path")
+ translate("CAM_DressupRampEntry", "The selected object is not a toolpath")
+ "\n"
)
return
if baseObject.isDerivedFrom("Path::FeatureCompoundPython"):
Path.Log.error(
- translate("Path_DressupRampEntry", "Please select a Profile object")
+ translate("CAM_DressupRampEntry", "Please select a Profile object")
)
return
@@ -956,6 +956,6 @@ class CommandPathDressupRampEntry:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupRampEntry", CommandPathDressupRampEntry())
+ FreeCADGui.addCommand("CAM_DressupRampEntry", CommandPathDressupRampEntry())
-Path.Log.notice("Loading Path_DressupRampEntry... done\n")
+Path.Log.notice("Loading CAM_DressupRampEntry... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/TagPreferences.py b/src/Mod/CAM/Path/Dressup/Gui/TagPreferences.py
similarity index 98%
rename from src/Mod/Path/Path/Dressup/Gui/TagPreferences.py
rename to src/Mod/CAM/Path/Dressup/Gui/TagPreferences.py
index ad48f46dc8..9d30390c55 100644
--- a/src/Mod/Path/Path/Dressup/Gui/TagPreferences.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/TagPreferences.py
@@ -89,7 +89,7 @@ class HoldingTagPreferences:
self.form = FreeCADGui.PySideUic.loadUi(
":/preferences/PathDressupHoldingTags.ui"
)
- self.label = translate("Path_DressupTag", "Holding Tag")
+ self.label = translate("CAM_DressupTag", "Holding Tag")
def loadSettings(self):
self.form.ifWidth.setText(
diff --git a/src/Mod/Path/Path/Dressup/Gui/Tags.py b/src/Mod/CAM/Path/Dressup/Gui/Tags.py
similarity index 98%
rename from src/Mod/Path/Path/Dressup/Gui/Tags.py
rename to src/Mod/CAM/Path/Dressup/Gui/Tags.py
index b0c4d2affd..4041ec9cde 100644
--- a/src/Mod/Path/Path/Dressup/Gui/Tags.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/Tags.py
@@ -378,7 +378,7 @@ class PathDressupTagViewProvider:
def debugDisplay(self):
# if False and addDebugDisplay():
# if not hasattr(self.vobj, 'Debug'):
- # self.vobj.addProperty('App::PropertyLink', 'Debug', 'Debug', QT_TRANSLATE_NOOP('Path_DressupTag', 'Some elements for debugging'))
+ # self.vobj.addProperty('App::PropertyLink', 'Debug', 'Debug', QT_TRANSLATE_NOOP('CAM_DressupTag', 'Some elements for debugging'))
# dbg = self.vobj.Object.Document.addObject('App::DocumentObjectGroup', 'TagDebug')
# self.vobj.Debug = dbg
# return True
@@ -562,10 +562,10 @@ def Create(baseObject, name="DressupTag"):
class CommandPathDressupTag:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupTag", "Tag"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupTag", "Tag"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupTag", "Creates a Tag Dress-up object from a selected path"
+ "CAM_DressupTag", "Creates a Tag Dress-up object from a selected toolpath"
),
}
@@ -581,7 +581,7 @@ class CommandPathDressupTag:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
Path.Log.error(
- translate("Path_DressupTag", "Please select one path object") + "\n"
+ translate("CAM_DressupTag", "Please select one toolpath object") + "\n"
)
return
baseObject = selection[0]
@@ -598,6 +598,6 @@ class CommandPathDressupTag:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupTag", CommandPathDressupTag())
+ FreeCADGui.addCommand("CAM_DressupTag", CommandPathDressupTag())
Path.Log.notice("Loading PathDressupTagGui... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/ZCorrect.py b/src/Mod/CAM/Path/Dressup/Gui/ZCorrect.py
similarity index 95%
rename from src/Mod/Path/Path/Dressup/Gui/ZCorrect.py
rename to src/Mod/CAM/Path/Dressup/Gui/ZCorrect.py
index bee53d9428..d4c038c5b4 100644
--- a/src/Mod/Path/Path/Dressup/Gui/ZCorrect.py
+++ b/src/Mod/CAM/Path/Dressup/Gui/ZCorrect.py
@@ -59,7 +59,7 @@ class ObjectDressup:
"App::PropertyLink",
"Base",
"Path",
- QT_TRANSLATE_NOOP("App::Property", "The base path to modify"),
+ QT_TRANSLATE_NOOP("App::Property", "The base toolpath to modify"),
)
obj.addProperty(
"App::PropertyFile",
@@ -289,9 +289,9 @@ class TaskPanel:
def SetProbePointFileName(self):
filename = QtGui.QFileDialog.getOpenFileName(
self.form,
- translate("Path_Probe", "Select Probe Point File"),
+ translate("CAM_Probe", "Select Probe Point File"),
None,
- translate("Path_Probe", "All Files (*.*)"),
+ translate("CAM_Probe", "All Files (*.*)"),
)
if filename and filename[0]:
self.obj.probefile = str(filename[0])
@@ -342,11 +342,11 @@ class ViewProviderDressup:
class CommandPathDressup:
def GetResources(self):
return {
- "Pixmap": "Path_Dressup",
- "MenuText": QT_TRANSLATE_NOOP("Path_DressupZCorrect", "Z Depth Correction"),
+ "Pixmap": "CAM_Dressup",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_DressupZCorrect", "Z Depth Correction"),
"Accel": "",
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_DressupZCorrect", "Use Probe Map to correct Z depth"
+ "CAM_DressupZCorrect", "Use Probe Map to correct Z depth"
),
}
@@ -362,17 +362,17 @@ class CommandPathDressup:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
FreeCAD.Console.PrintError(
- translate("Path_Dressup", "Please select one path object\n")
+ translate("CAM_Dressup", "Please select one toolpath object\n")
)
return
if not selection[0].isDerivedFrom("Path::Feature"):
FreeCAD.Console.PrintError(
- translate("Path_Dressup", "The selected object is not a path\n")
+ translate("CAM_Dressup", "The selected object is not a toolpath\n")
)
return
if selection[0].isDerivedFrom("Path::FeatureCompoundPython"):
FreeCAD.Console.PrintError(
- translate("Path_Dressup", "Please select a Path object")
+ translate("CAM_Dressup", "Please select a toolpath object")
)
return
@@ -399,6 +399,6 @@ class CommandPathDressup:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_DressupZCorrect", CommandPathDressup())
+ FreeCADGui.addCommand("CAM_DressupZCorrect", CommandPathDressup())
FreeCAD.Console.PrintLog("Loading PathDressup... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Gui/__init__.py b/src/Mod/CAM/Path/Dressup/Gui/__init__.py
similarity index 100%
rename from src/Mod/Path/Path/Dressup/Gui/__init__.py
rename to src/Mod/CAM/Path/Dressup/Gui/__init__.py
diff --git a/src/Mod/Path/Path/Dressup/Tags.py b/src/Mod/CAM/Path/Dressup/Tags.py
similarity index 99%
rename from src/Mod/Path/Path/Dressup/Tags.py
rename to src/Mod/CAM/Path/Dressup/Tags.py
index 0bcb01639f..f9b24ec2d2 100644
--- a/src/Mod/Path/Path/Dressup/Tags.py
+++ b/src/Mod/CAM/Path/Dressup/Tags.py
@@ -1301,7 +1301,7 @@ class ObjectTagDressup:
except ValueError:
Path.Log.error(
translate(
- "Path_DressupTag",
+ "CAM_DressupTag",
"Cannot insert holding tags for this path - please select a Profile path",
)
+ "\n"
@@ -1354,12 +1354,12 @@ def Create(baseObject, name="DressupTag"):
"""
if not baseObject.isDerivedFrom("Path::Feature"):
Path.Log.error(
- translate("Path_DressupTag", "The selected object is not a path") + "\n"
+ translate("CAM_DressupTag", "The selected object is not a path") + "\n"
)
return None
if baseObject.isDerivedFrom("Path::FeatureCompoundPython"):
- Path.Log.error(translate("Path_DressupTag", "Please select a Profile object"))
+ Path.Log.error(translate("CAM_DressupTag", "Please select a Profile object"))
return None
obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", name)
@@ -1370,4 +1370,4 @@ def Create(baseObject, name="DressupTag"):
return obj
-Path.Log.notice("Loading Path_DressupTag... done\n")
+Path.Log.notice("Loading CAM_DressupTag... done\n")
diff --git a/src/Mod/Path/Path/Dressup/Utils.py b/src/Mod/CAM/Path/Dressup/Utils.py
similarity index 100%
rename from src/Mod/Path/Path/Dressup/Utils.py
rename to src/Mod/CAM/Path/Dressup/Utils.py
diff --git a/src/Mod/Path/Path/Dressup/__init__.py b/src/Mod/CAM/Path/Dressup/__init__.py
similarity index 100%
rename from src/Mod/Path/Path/Dressup/__init__.py
rename to src/Mod/CAM/Path/Dressup/__init__.py
diff --git a/src/Mod/Path/Path/Geom.py b/src/Mod/CAM/Path/Geom.py
similarity index 99%
rename from src/Mod/Path/Path/Geom.py
rename to src/Mod/CAM/Path/Geom.py
index 615f2cf4ac..1ad92a6f65 100644
--- a/src/Mod/Path/Path/Geom.py
+++ b/src/Mod/CAM/Path/Geom.py
@@ -33,7 +33,7 @@ from lazy_loader.lazy_loader import LazyLoader
Part = LazyLoader("Part", globals(), "Part")
-__title__ = "Geom - geometry utilities for Path"
+__title__ = "Geom - geometry utilities for CAM"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecad.org"
__doc__ = "Functions to extract and convert between Path.Command and Part.Edge and utility functions to reason about them."
diff --git a/src/Mod/Path/Path/GuiInit.py b/src/Mod/CAM/Path/GuiInit.py
similarity index 99%
rename from src/Mod/Path/Path/GuiInit.py
rename to src/Mod/CAM/Path/GuiInit.py
index 65819c6edb..545bcf8ece 100644
--- a/src/Mod/Path/Path/GuiInit.py
+++ b/src/Mod/CAM/Path/GuiInit.py
@@ -63,7 +63,6 @@ def Startup():
from Path.Op.Gui import Drilling
from Path.Op.Gui import Engrave
from Path.Op.Gui import Helix
- from Path.Op.Gui import Hop
from Path.Op.Gui import MillFace
from Path.Op.Gui import Pocket
from Path.Op.Gui import PocketShape
diff --git a/src/Mod/Path/Path/Log.py b/src/Mod/CAM/Path/Log.py
similarity index 100%
rename from src/Mod/Path/Path/Log.py
rename to src/Mod/CAM/Path/Log.py
diff --git a/src/Mod/Path/Path/Main/Gui/Camotics.py b/src/Mod/CAM/Path/Main/Gui/Camotics.py
similarity index 97%
rename from src/Mod/Path/Path/Main/Gui/Camotics.py
rename to src/Mod/CAM/Path/Main/Gui/Camotics.py
index fb9e1ecd3e..1e18f6fbff 100644
--- a/src/Mod/Path/Path/Main/Gui/Camotics.py
+++ b/src/Mod/CAM/Path/Main/Gui/Camotics.py
@@ -310,10 +310,10 @@ class CamoticsSimulation(QtCore.QObject):
class CommandCamoticsSimulate:
def GetResources(self):
return {
- "Pixmap": "Path_Camotics",
- "MenuText": QT_TRANSLATE_NOOP("Path_Camotics", "Camotics"),
+ "Pixmap": "CAM_Camotics",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_Camotics", "Camotics"),
"Accel": "P, C",
- "ToolTip": QT_TRANSLATE_NOOP("Path_Camotics", "Simulate using Camotics"),
+ "ToolTip": QT_TRANSLATE_NOOP("CAM_Camotics", "Simulate using Camotics"),
"CmdType": "ForEdit",
}
@@ -332,7 +332,7 @@ class CommandCamoticsSimulate:
if FreeCAD.GuiUp:
- FreeCADGui.addCommand("Path_Camotics", CommandCamoticsSimulate())
+ FreeCADGui.addCommand("CAM_Camotics", CommandCamoticsSimulate())
FreeCAD.Console.PrintLog("Loading PathCamoticsSimulateGui ... done\n")
diff --git a/src/Mod/Path/Path/Main/Gui/Fixture.py b/src/Mod/CAM/Path/Main/Gui/Fixture.py
similarity index 95%
rename from src/Mod/Path/Path/Main/Gui/Fixture.py
rename to src/Mod/CAM/Path/Main/Gui/Fixture.py
index 605d692192..c4d10e0b5b 100644
--- a/src/Mod/Path/Path/Main/Gui/Fixture.py
+++ b/src/Mod/CAM/Path/Main/Gui/Fixture.py
@@ -119,7 +119,7 @@ class _ViewProviderFixture:
return None
def getIcon(self): # optional
- return ":/icons/Path_Datums.svg"
+ return ":/icons/CAM_Datums.svg"
def onChanged(self, vobj, prop): # optional
mode = 2
@@ -149,10 +149,10 @@ class _ViewProviderFixture:
class CommandPathFixture:
def GetResources(self):
return {
- "Pixmap": "Path_Datums",
- "MenuText": QT_TRANSLATE_NOOP("Path_Fixture", "Fixture"),
+ "Pixmap": "CAM_Datums",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_Fixture", "Fixture"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_Fixture", "Creates a Fixture Offset"
+ "CAM_Fixture", "Creates a Fixture Offset"
),
}
@@ -186,7 +186,7 @@ PathUtils.addToJob(obj)
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_Fixture", CommandPathFixture())
+ FreeCADGui.addCommand("CAM_Fixture", CommandPathFixture())
FreeCAD.Console.PrintLog("Loading PathFixture... done\n")
diff --git a/src/Mod/Path/Path/Main/Gui/Inspect.py b/src/Mod/CAM/Path/Main/Gui/Inspect.py
similarity index 95%
rename from src/Mod/Path/Path/Main/Gui/Inspect.py
rename to src/Mod/CAM/Path/Main/Gui/Inspect.py
index 3648674744..6adfec5d08 100644
--- a/src/Mod/Path/Path/Main/Gui/Inspect.py
+++ b/src/Mod/CAM/Path/Main/Gui/Inspect.py
@@ -106,7 +106,7 @@ class GCodeEditorDialog(QtGui.QDialog):
QtGui.QDialog.__init__(self, parent)
layout = QtGui.QVBoxLayout(self)
- p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Path")
+ p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/CAM")
c = p.GetUnsigned("DefaultHighlightPathColor", 4286382335)
Q = QtGui.QColor(
int((c >> 24) & 0xFF), int((c >> 16) & 0xFF), int((c >> 8) & 0xFF)
@@ -139,7 +139,7 @@ class GCodeEditorDialog(QtGui.QDialog):
lab = QtGui.QLabel()
lab.setText(
translate(
- "Path_Inspect",
+ "CAM_Inspect",
"Note: This dialog shows Path Commands in FreeCAD base units (mm/s). \n Values will be converted to the desired unit during post processing.",
)
)
@@ -158,7 +158,7 @@ class GCodeEditorDialog(QtGui.QDialog):
self.editor.selectionChanged.connect(self.highlightpath)
self.finished.connect(self.cleanup)
- prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Path")
+ prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/CAM")
Xpos = int(prefs.GetString("inspecteditorX", "0"))
Ypos = int(prefs.GetString("inspecteditorY", "0"))
height = int(prefs.GetString("inspecteditorH", "500"))
@@ -167,7 +167,7 @@ class GCodeEditorDialog(QtGui.QDialog):
self.resize(width, height)
def cleanup(self):
- prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Path")
+ prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/CAM")
prefs.SetString("inspecteditorX", str(self.x()))
prefs.SetString("inspecteditorY", str(self.y()))
prefs.SetString("inspecteditorW", str(self.width()))
@@ -225,7 +225,7 @@ class GCodeEditorDialog(QtGui.QDialog):
def show(obj):
"show(obj): shows the G-code data of the given Path object in a dialog"
- prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Path")
+ prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/CAM")
# default Max Highlighter Size = 512 Ko
defaultMHS = 512 * 1024
mhs = prefs.GetUnsigned("inspecteditorMaxHighlighterSize", defaultMHS)
@@ -264,11 +264,11 @@ def show(obj):
class CommandPathInspect:
def GetResources(self):
return {
- "Pixmap": "Path_Inspect",
- "MenuText": QT_TRANSLATE_NOOP("Path_Inspect", "Inspect Path Commands"),
+ "Pixmap": "CAM_Inspect",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_Inspect", "Inspect toolPath Commands"),
"Accel": "P, I",
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_Inspect", "Inspects the contents of a Path object"
+ "CAM_Inspect", "Inspects the contents of a toolpath object"
),
}
@@ -281,13 +281,13 @@ class CommandPathInspect:
selection = FreeCADGui.Selection.getSelection()
if len(selection) != 1:
FreeCAD.Console.PrintError(
- translate("Path_Inspect", "Please select exactly one path object")
+ translate("CAM_Inspect", "Please select exactly one path object")
+ "\n"
)
return
if not (selection[0].isDerivedFrom("Path::Feature")):
FreeCAD.Console.PrintError(
- translate("Path_Inspect", "Please select exactly one path object")
+ translate("CAM_Inspect", "Please select exactly one path object")
+ "\n"
)
return
@@ -303,4 +303,4 @@ class CommandPathInspect:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_Inspect", CommandPathInspect())
+ FreeCADGui.addCommand("CAM_Inspect", CommandPathInspect())
diff --git a/src/Mod/Path/Path/Main/Gui/Job.py b/src/Mod/CAM/Path/Main/Gui/Job.py
similarity index 98%
rename from src/Mod/Path/Path/Main/Gui/Job.py
rename to src/Mod/CAM/Path/Main/Gui/Job.py
index faa6b1c2e9..584fd9d222 100644
--- a/src/Mod/Path/Path/Main/Gui/Job.py
+++ b/src/Mod/CAM/Path/Main/Gui/Job.py
@@ -198,7 +198,7 @@ class ViewProvider:
self.unsetEdit(None, None)
def getIcon(self):
- return ":/icons/Path_Job.svg"
+ return ":/icons/CAM_Job.svg"
def claimChildren(self):
children = []
@@ -280,7 +280,7 @@ class ViewProvider:
Path.Log.track()
for action in menu.actions():
menu.removeAction(action)
- action = QtGui.QAction(translate("Path_Job", "Edit"), menu)
+ action = QtGui.QAction(translate("CAM_Job", "Edit"), menu)
action.triggered.connect(self.setEdit)
menu.addAction(action)
@@ -523,7 +523,7 @@ class StockCreateCylinderEdit(StockEdit):
self.form.stockCylinderHeight.text()
)
else:
- Path.Log.error(translate("Path_Job", "Stock not a cylinder!"))
+ Path.Log.error(translate("CAM_Job", "Stock not a cylinder!"))
except Exception:
pass
@@ -940,9 +940,9 @@ class TaskPanel:
def setPostProcessorOutputFile(self):
filename = QtGui.QFileDialog.getSaveFileName(
self.form,
- translate("Path_Job", "Select Output File"),
+ translate("CAM_Job", "Select Output File"),
None,
- translate("Path_Job", "All Files (*.*)"),
+ translate("CAM_Job", "All Files (*.*)"),
)
if filename and filename[0]:
self.obj.PostProcessorOutputFile = str(filename[0])
@@ -1322,7 +1322,7 @@ class TaskPanel:
setupFromExisting()
else:
Path.Log.error(
- translate("Path_Job", "Unsupported stock object %s")
+ translate("CAM_Job", "Unsupported stock object %s")
% self.obj.Stock.Label
)
else:
@@ -1338,7 +1338,7 @@ class TaskPanel:
index = -1
else:
Path.Log.error(
- translate("Path_Job", "Unsupported stock type %s (%d)")
+ translate("CAM_Job", "Unsupported stock type %s (%d)")
% (self.form.stock.currentText(), index)
)
self.stockEdit.activate(self.obj, index == -1)
@@ -1430,7 +1430,7 @@ class TaskPanel:
def jobModelEdit(self):
dialog = PathJobDlg.JobCreate()
- dialog.setupTitle(translate("Path_Job", "Model Selection"))
+ dialog.setupTitle(translate("CAM_Job", "Model Selection"))
dialog.setupModel(self.obj)
if dialog.exec_() == 1:
models = dialog.getModels()
@@ -1617,10 +1617,10 @@ class TaskPanel:
def _displayWarningWindow(msg):
"""Display window with warning message and Add action button.
Return action state."""
- txtHeader = translate("Path_Job", "Warning")
- txtPleaseAddOne = translate("Path_Job", "Please add one.")
- txtOk = translate("Path_Job", "Ok")
- txtAdd = translate("Path_Job", "Add")
+ txtHeader = translate("CAM_Job", "Warning")
+ txtPleaseAddOne = translate("CAM_Job", "Please add one.")
+ txtOk = translate("CAM_Job", "Ok")
+ txtAdd = translate("CAM_Job", "Add")
msgbox = QtGui.QMessageBox(
QtGui.QMessageBox.Warning, txtHeader, msg + " " + txtPleaseAddOne
@@ -1632,14 +1632,14 @@ class TaskPanel:
# Check if at least on base model is present
if len(self.obj.Model.Group) == 0:
self.form.setCurrentIndex(0) # Change tab to General tab
- no_model_txt = translate("Path_Job", "This job has no base model.")
+ no_model_txt = translate("CAM_Job", "This job has no base model.")
if _displayWarningWindow(no_model_txt) == 1:
self.jobModelEdit()
# Check if at least one tool is present
if len(self.obj.Tools.Group) == 0:
self.form.setCurrentIndex(3) # Change tab to Tools tab
- no_tool_txt = translate("Path_Job", "This job has no tool.")
+ no_tool_txt = translate("CAM_Job", "This job has no tool.")
if _displayWarningWindow(no_tool_txt) == 1:
self.toolControllerAdd()
diff --git a/src/Mod/Path/Path/Main/Gui/JobCmd.py b/src/Mod/CAM/Path/Main/Gui/JobCmd.py
similarity index 92%
rename from src/Mod/Path/Path/Main/Gui/JobCmd.py
rename to src/Mod/CAM/Path/Main/Gui/JobCmd.py
index 965f75d077..63669dc6d1 100644
--- a/src/Mod/Path/Path/Main/Gui/JobCmd.py
+++ b/src/Mod/CAM/Path/Main/Gui/JobCmd.py
@@ -53,10 +53,10 @@ class CommandJobCreate:
def GetResources(self):
return {
- "Pixmap": "Path_Job",
- "MenuText": QT_TRANSLATE_NOOP("Path_Job", "Job"),
+ "Pixmap": "CAM_Job",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_Job", "Job"),
"Accel": "P, J",
- "ToolTip": QT_TRANSLATE_NOOP("Path_Job", "Creates a Path Job"),
+ "ToolTip": QT_TRANSLATE_NOOP("CAM_Job", "Creates a CAM Job"),
}
def IsActive(self):
@@ -97,11 +97,11 @@ class CommandJobTemplateExport:
def GetResources(self):
return {
- "Pixmap": "Path_ExportTemplate",
- "MenuText": QT_TRANSLATE_NOOP("Path_ExportTemplate", "Export Template"),
+ "Pixmap": "CAM_ExportTemplate",
+ "MenuText": QT_TRANSLATE_NOOP("CAM_ExportTemplate", "Export Template"),
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_ExportTemplate",
- "Exports Path Job as a template to be used for other jobs",
+ "CAM_ExportTemplate",
+ "Exports CAM Job as a template to be used for other jobs",
),
}
@@ -197,7 +197,7 @@ class CommandJobTemplateExport:
if FreeCAD.GuiUp:
# register the FreeCAD command
- FreeCADGui.addCommand("Path_Job", CommandJobCreate())
- FreeCADGui.addCommand("Path_ExportTemplate", CommandJobTemplateExport())
+ FreeCADGui.addCommand("CAM_Job", CommandJobCreate())
+ FreeCADGui.addCommand("CAM_ExportTemplate", CommandJobTemplateExport())
FreeCAD.Console.PrintLog("Loading PathJobCmd... done\n")
diff --git a/src/Mod/Path/Path/Main/Gui/JobDlg.py b/src/Mod/CAM/Path/Main/Gui/JobDlg.py
similarity index 97%
rename from src/Mod/Path/Path/Main/Gui/JobDlg.py
rename to src/Mod/CAM/Path/Main/Gui/JobDlg.py
index 0a0b5b3bad..464fe34acc 100644
--- a/src/Mod/Path/Path/Main/Gui/JobDlg.py
+++ b/src/Mod/CAM/Path/Main/Gui/JobDlg.py
@@ -85,9 +85,9 @@ class JobCreate:
preferences().SetBool("WarningSuppressVelocity", True)
self.dialog = FreeCADGui.PySideUic.loadUi(":/panels/DlgJobCreate.ui")
- self.itemsSolid = QtGui.QStandardItem(translate("Path_Job", "Solids"))
- self.items2D = QtGui.QStandardItem(translate("Path_Job", "2D"))
- self.itemsJob = QtGui.QStandardItem(translate("Path_Job", "Jobs"))
+ self.itemsSolid = QtGui.QStandardItem(translate("CAM_Job", "Solids"))
+ self.items2D = QtGui.QStandardItem(translate("CAM_Job", "2D"))
+ self.itemsJob = QtGui.QStandardItem(translate("CAM_Job", "Jobs"))
self.dialog.templateGroup.hide()
self.dialog.modelGroup.hide()
# debugging support
@@ -354,7 +354,7 @@ class JobTemplateExport:
stockType = PathStock.StockType.FromStock(job.Stock)
if stockType == PathStock.StockType.FromBase:
seHint = translate(
- "Path_Job", "Base -/+ %.2f/%.2f %.2f/%.2f %.2f/%.2f"
+ "CAM_Job", "Base -/+ %.2f/%.2f %.2f/%.2f %.2f/%.2f"
) % (
job.Stock.ExtXneg,
job.Stock.ExtXpos,
@@ -365,13 +365,13 @@ class JobTemplateExport:
)
self.dialog.stockPlacement.setChecked(False)
elif stockType == PathStock.StockType.CreateBox:
- seHint = translate("Path_Job", "Box: %.2f x %.2f x %.2f") % (
+ seHint = translate("CAM_Job", "Box: %.2f x %.2f x %.2f") % (
job.Stock.Length,
job.Stock.Width,
job.Stock.Height,
)
elif stockType == PathStock.StockType.CreateCylinder:
- seHint = translate("Path_Job:", "Cylinder: %.2f x %.2f") % (
+ seHint = translate("CAM_Job:", "Cylinder: %.2f x %.2f") % (
job.Stock.Radius,
job.Stock.Height,
)
@@ -380,7 +380,7 @@ class JobTemplateExport:
else: # Existing Solid
seHint = "-"
- Path.Log.error(translate("Path_Job", "Unsupported stock type"))
+ Path.Log.error(translate("CAM_Job", "Unsupported stock type"))
self.dialog.stockExtentHint.setText(seHint)
spHint = "%s" % job.Stock.Placement
self.dialog.stockPlacementHint.setText(spHint)
diff --git a/src/Mod/Path/Path/Main/Gui/PreferencesJob.py b/src/Mod/CAM/Path/Main/Gui/PreferencesJob.py
similarity index 100%
rename from src/Mod/Path/Path/Main/Gui/PreferencesJob.py
rename to src/Mod/CAM/Path/Main/Gui/PreferencesJob.py
diff --git a/src/Mod/Path/Path/Main/Gui/Sanity.py b/src/Mod/CAM/Path/Main/Gui/Sanity.py
similarity index 91%
rename from src/Mod/Path/Path/Main/Gui/Sanity.py
rename to src/Mod/CAM/Path/Main/Gui/Sanity.py
index 98a08dfb3c..8eb9e8e888 100644
--- a/src/Mod/Path/Path/Main/Gui/Sanity.py
+++ b/src/Mod/CAM/Path/Main/Gui/Sanity.py
@@ -51,7 +51,7 @@ else:
Path.Log.setLevel(Path.Log.Level.INFO, Path.Log.thisModule())
-class CommandPathSanity:
+class CommandCAMSanity:
def resolveOutputFile(self, job):
if job.PostProcessorOutputFile != "":
filepath = job.PostProcessorOutputFile
@@ -120,13 +120,13 @@ class CommandPathSanity:
def GetResources(self):
return {
- "Pixmap": "Path_Sanity",
+ "Pixmap": "CAM_Sanity",
"MenuText": QT_TRANSLATE_NOOP(
- "Path_Sanity", "Check the path job for common errors"
+ "CAM_Sanity", "Check the CAM job for common errors"
),
"Accel": "P, S",
"ToolTip": QT_TRANSLATE_NOOP(
- "Path_Sanity", "Check the path job for common errors"
+ "CAM_Sanity", "Check the CAM job for common errors"
),
}
@@ -211,38 +211,38 @@ class CommandPathSanity:
"""
generates an asciidoc file with the report information
"""
- Title = translate("Path_Sanity", "Setup Report for FreeCAD Job")
- ToC = translate("Path_Sanity", "Table of Contents")
- PartInfoHeading = translate("Path_Sanity", "Part Information")
- RunSumHeading = translate("Path_Sanity", "Run Summary")
- RoughStkHeading = translate("Path_Sanity", "Rough Stock")
- ToolDataHeading = translate("Path_Sanity", "Tool Data")
- OutputHeading = translate("Path_Sanity", "Output")
- FixturesHeading = translate("Path_Sanity", "Fixtures")
- SquawksHeading = translate("Path_Sanity", "Squawks")
+ Title = translate("CAM_Sanity", "Setup Report for FreeCAD Job")
+ ToC = translate("CAM_Sanity", "Table of Contents")
+ PartInfoHeading = translate("CAM_Sanity", "Part Information")
+ RunSumHeading = translate("CAM_Sanity", "Run Summary")
+ RoughStkHeading = translate("CAM_Sanity", "Rough Stock")
+ ToolDataHeading = translate("CAM_Sanity", "Tool Data")
+ OutputHeading = translate("CAM_Sanity", "Output")
+ FixturesHeading = translate("CAM_Sanity", "Fixtures")
+ SquawksHeading = translate("CAM_Sanity", "Squawks")
- PartLabel = translate("Path_Sanity", "Base Object(s)")
- SequenceLabel = translate("Path_Sanity", "Job Sequence")
- DescriptionLabel = translate("Path_Sanity", "Job Description")
- JobTypeLabel = translate("Path_Sanity", "Job Type")
- CADLabel = translate("Path_Sanity", "CAD File Name")
- LastSaveLabel = translate("Path_Sanity", "Last Save Date")
- CustomerLabel = translate("Path_Sanity", "Customer")
- DesignerLabel = translate("Path_Sanity", "Designer")
+ PartLabel = translate("CAM_Sanity", "Base Object(s)")
+ SequenceLabel = translate("CAM_Sanity", "Job Sequence")
+ DescriptionLabel = translate("CAM_Sanity", "Job Description")
+ JobTypeLabel = translate("CAM_Sanity", "Job Type")
+ CADLabel = translate("CAM_Sanity", "CAD File Name")
+ LastSaveLabel = translate("CAM_Sanity", "Last Save Date")
+ CustomerLabel = translate("CAM_Sanity", "Customer")
+ DesignerLabel = translate("CAM_Sanity", "Designer")
b = data["baseData"]
d = data["designData"]
jobname = d["JobLabel"]
- opLabel = translate("Path_Sanity", "Operation")
- zMinLabel = translate("Path_Sanity", "Minimum Z Height")
- zMaxLabel = translate("Path_Sanity", "Maximum Z Height")
- cycleTimeLabel = translate("Path_Sanity", "Cycle Time")
+ opLabel = translate("CAM_Sanity", "Operation")
+ zMinLabel = translate("CAM_Sanity", "Minimum Z Height")
+ zMaxLabel = translate("CAM_Sanity", "Maximum Z Height")
+ cycleTimeLabel = translate("CAM_Sanity", "Cycle Time")
- coolantLabel = translate("Path_Sanity", "Coolant")
- jobTotalLabel = translate("Path_Sanity", "TOTAL JOB")
+ coolantLabel = translate("CAM_Sanity", "Coolant")
+ jobTotalLabel = translate("CAM_Sanity", "TOTAL JOB")
d = data["toolData"]
- toolLabel = translate("Path_Sanity", "Tool Number")
+ toolLabel = translate("CAM_Sanity", "Tool Number")
imageCounter = 1
reportHtmlTemplate = """
@@ -505,40 +505,40 @@ class CommandPathSanity:
"""
- descriptionLabel = translate("Path_Sanity", "Description")
- manufLabel = translate("Path_Sanity", "Manufacturer")
- partNumberLabel = translate("Path_Sanity", "Part Number")
- urlLabel = translate("Path_Sanity", "URL")
- inspectionNotesLabel = translate("Path_Sanity", "Inspection Notes")
- opLabel = translate("Path_Sanity", "Operation")
- tcLabel = translate("Path_Sanity", "Tool Controller")
- feedLabel = translate("Path_Sanity", "Feed Rate")
- speedLabel = translate("Path_Sanity", "Spindle Speed")
- shapeLabel = translate("Path_Sanity", "Tool Shape")
- diameterLabel = translate("Path_Sanity", "Tool Diameter")
+ descriptionLabel = translate("CAM_Sanity", "Description")
+ manufLabel = translate("CAM_Sanity", "Manufacturer")
+ partNumberLabel = translate("CAM_Sanity", "Part Number")
+ urlLabel = translate("CAM_Sanity", "URL")
+ inspectionNotesLabel = translate("CAM_Sanity", "Inspection Notes")
+ opLabel = translate("CAM_Sanity", "Operation")
+ tcLabel = translate("CAM_Sanity", "Tool Controller")
+ feedLabel = translate("CAM_Sanity", "Feed Rate")
+ speedLabel = translate("CAM_Sanity", "Spindle Speed")
+ shapeLabel = translate("CAM_Sanity", "Tool Shape")
+ diameterLabel = translate("CAM_Sanity", "Tool Diameter")
- xDimLabel = translate("Path_Sanity", "X Size")
- yDimLabel = translate("Path_Sanity", "Y Size")
- zDimLabel = translate("Path_Sanity", "Z Size")
- materialLabel = translate("Path_Sanity", "Material")
+ xDimLabel = translate("CAM_Sanity", "X Size")
+ yDimLabel = translate("CAM_Sanity", "Y Size")
+ zDimLabel = translate("CAM_Sanity", "Z Size")
+ materialLabel = translate("CAM_Sanity", "Material")
- offsetsLabel = translate("Path_Sanity", "Work Offsets")
- orderByLabel = translate("Path_Sanity", "Order By")
- datumLabel = translate("Path_Sanity", "Part Datum")
+ offsetsLabel = translate("CAM_Sanity", "Work Offsets")
+ orderByLabel = translate("CAM_Sanity", "Order By")
+ datumLabel = translate("CAM_Sanity", "Part Datum")
- gcodeFileLabel = translate("Path_Sanity", "G-code File")
- lastpostLabel = translate("Path_Sanity", "Last Post Process Date")
- stopsLabel = translate("Path_Sanity", "Stops")
- programmerLabel = translate("Path_Sanity", "Programmer")
- machineLabel = translate("Path_Sanity", "Machine")
- postLabel = translate("Path_Sanity", "Postprocessor")
- flagsLabel = translate("Path_Sanity", "Post Processor Flags")
- fileSizeLabel = translate("Path_Sanity", "File Size (kB)")
- lineCountLabel = translate("Path_Sanity", "Line Count")
+ gcodeFileLabel = translate("CAM_Sanity", "G-code File")
+ lastpostLabel = translate("CAM_Sanity", "Last Post Process Date")
+ stopsLabel = translate("CAM_Sanity", "Stops")
+ programmerLabel = translate("CAM_Sanity", "Programmer")
+ machineLabel = translate("CAM_Sanity", "Machine")
+ postLabel = translate("CAM_Sanity", "Postprocessor")
+ flagsLabel = translate("CAM_Sanity", "Post Processor Flags")
+ fileSizeLabel = translate("CAM_Sanity", "File Size (kB)")
+ lineCountLabel = translate("CAM_Sanity", "Line Count")
- noteLabel = translate("Path_Sanity", "Note")
- operatorLabel = translate("Path_Sanity", "Operator")
- dateLabel = translate("Path_Sanity", "Date")
+ noteLabel = translate("CAM_Sanity", "Note")
+ operatorLabel = translate("CAM_Sanity", "Operator")
+ dateLabel = translate("CAM_Sanity", "Date")
d = data["runData"]
reportHtmlTemplate += """
@@ -648,7 +648,9 @@ class CommandPathSanity:
"
+ reportHtmlTemplate += (
+ "' alt='stock' align='bottom' width='320' height='320' border='0'/>"
+ )
imageCounter += 1
reportHtmlTemplate += """
@@ -1053,12 +1055,10 @@ class CommandPathSanity:
"""
d = data["squawkData"]
- TIPIcon = FreeCAD.getHomePath() + "Mod/Path/Path/Main/Gui/Sanity_Bulb.svg"
- NOTEIcon = FreeCAD.getHomePath() + "Mod/Path/Path/Main/Gui/Sanity_Note.svg"
- WARNINGIcon = (
- FreeCAD.getHomePath() + "Mod/Path/Path/Main/Gui/Sanity_Warning.svg"
- )
- CAUTIONIcon = FreeCAD.getHomePath() + "Mod/Path/Path/Main/Gui/Sanity_Stop.svg"
+ TIPIcon = FreeCAD.getHomePath() + "Mod/CAM/Path/Main/Gui/Sanity_Bulb.svg"
+ NOTEIcon = FreeCAD.getHomePath() + "Mod/CAM/Path/Main/Gui/Sanity_Note.svg"
+ WARNINGIcon = FreeCAD.getHomePath() + "Mod/CAM/Path/Main/Gui/Sanity_Warning.svg"
+ CAUTIONIcon = FreeCAD.getHomePath() + "Mod/CAM/Path/Main/Gui/Sanity_Stop.svg"
reportHtmlTemplate += """
@@ -1189,7 +1189,6 @@ class CommandPathSanity: