Moved PathAdaptive into new Path.Op module

This commit is contained in:
Markus Lampert
2022-08-10 17:37:31 -07:00
parent eeaed7363a
commit 8c05a46174
7 changed files with 29 additions and 6 deletions

View File

@@ -30,10 +30,18 @@ SET(PathPython_SRCS
Path/Log.py
)
SET(PathPythonOp_SRCS
Path/Op/__init__.py
Path/Op/Adaptive.py
)
SET(PathPythonOpGui_SRCS
Path/Op/Gui/__init__.py
Path/Op/Gui/Adaptive.py
)
SET(PathScripts_SRCS
PathScripts/drillableLib.py
PathScripts/PathAdaptive.py
PathScripts/PathAdaptiveGui.py
PathScripts/PathAreaOp.py
PathScripts/PathArray.py
PathScripts/PathCircularHoleBase.py
@@ -318,6 +326,8 @@ SET(Path_Data
SET(all_files
${PathScripts_SRCS}
${PathPython_SRCS}
${PathPythonOp_SRCS}
${PathPythonOpGui_SRCS}
${Generator_SRCS}
${PathScripts_post_SRCS}
${PathPythonGui_SRCS}
@@ -359,6 +369,19 @@ INSTALL(
Mod/Path/Path
)
INSTALL(
FILES
${PathPythonOp_SRCS}
DESTINATION
Mod/Path/Path/Op
)
INSTALL(
FILES
${PathPythonOpGui_SRCS}
DESTINATION
Mod/Path/Path/Op/Gui
)
INSTALL(
FILES
${Generator_SRCS}

View File

@@ -21,9 +21,9 @@
# * *
# ***************************************************************************
import Path.Op.Adaptive as PathAdaptive
import PathScripts.PathOpGui as PathOpGui
from PySide import QtCore
import PathScripts.PathAdaptive as PathAdaptive
import PathScripts.PathFeatureExtensionsGui as PathFeatureExtensionsGui
import FreeCADGui

View File

View File

View File

@@ -38,7 +38,7 @@ def Startup():
global Processed
if not Processed:
Path.Log.debug("Initializing PathGui")
from PathScripts import PathAdaptiveGui
from Path.Op.Gui import Adaptive
from PathScripts import PathArray
from PathScripts import PathComment
from PathScripts import PathCustomGui

View File

@@ -24,13 +24,13 @@
import FreeCAD
import Part
import Path.Op.Adaptive as PathAdaptive
import PathScripts.PathJob as PathJob
import PathScripts.PathAdaptive as PathAdaptive
import PathScripts.PathGeom as PathGeom
from PathTests.PathTestUtils import PathTestBase
if FreeCAD.GuiUp:
import PathScripts.PathAdaptiveGui as PathAdaptiveGui
import Path.Op.Gui.Adaptive as PathAdaptiveGui
import PathScripts.PathJobGui as PathJobGui