diff --git a/src/Mod/CAM/CMakeLists.txt b/src/Mod/CAM/CMakeLists.txt index 505239afb1..4b1b4d927e 100644 --- a/src/Mod/CAM/CMakeLists.txt +++ b/src/Mod/CAM/CMakeLists.txt @@ -170,6 +170,10 @@ SET(PathPythonToolsGui_SRCS Path/Tool/Gui/Controller.py ) +SET(PathPythonMachineUi_SRCS + Path/Machine/ui/__init__.py +) + SET(PathPythonMachineUiEditor_SRCS Path/Machine/ui/editor/machine_editor.py Path/Machine/ui/editor/__init__.py @@ -642,6 +646,7 @@ SET(all_files ${PathPythonToolsLibrarySerializers_SRCS} ${PathPythonToolsLibraryUi_SRCS} ${PathPythonMachineModels_SRCS} + ${PathPythonMachineUi_SRCS} ${PathPythonMachineUiEditor_SRCS} ${PathPythonGui_SRCS} ${Tools_SRCS} @@ -911,13 +916,6 @@ INSTALL( Mod/CAM/Path/Tool/library/ui ) -INSTALL( - FILES - ${PathPythonToolsMachine_SRCS} - DESTINATION - Mod/CAM/Path/Tool/machine -) - INSTALL( FILES ${PathPythonMachineModels_SRCS} @@ -927,16 +925,16 @@ INSTALL( INSTALL( FILES - ${PathPythonToolsMachineUiEditor_SRCS} + ${PathPythonMachineUi_SRCS} DESTINATION - Mod/CAM/Path/Machine/ui/editor + Mod/CAM/Path/Machine/ui ) INSTALL( FILES - ${PathPythonToolsMachineModels_SRCS} + ${PathPythonMachineUiEditor_SRCS} DESTINATION - Mod/CAM/Path/Tool/machine/models + Mod/CAM/Path/Machine/ui/editor ) INSTALL( diff --git a/src/Mod/CAM/Path/Machine/ui/__init__.py b/src/Mod/CAM/Path/Machine/ui/__init__.py new file mode 100644 index 0000000000..349cb65394 --- /dev/null +++ b/src/Mod/CAM/Path/Machine/ui/__init__.py @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the FreeCAD project. + +################################################################################ +# # +# © 2026 Billy Huddleston # +# # +# FreeCAD is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# FreeCAD is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty # +# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # +# See the GNU Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with FreeCAD. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + +"""Machine UI package"""