Merge pull request #9563 from Ondsel-Development/VariousFixes

Minor bug fixes for path sanity
This commit is contained in:
sliptonic
2023-05-14 19:25:51 -05:00
committed by GitHub
2 changed files with 3 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ class PathWorkbench(Workbench):
Path.GuiInit.Startup()
# build commands list
projcmdlist = ["Path_Job", "Path_Post"]
projcmdlist = ["Path_Job", "Path_Post", "Path_Sanity"]
toolcmdlist = [
"Path_Inspect",
"Path_Simulator",
@@ -146,7 +146,6 @@ class PathWorkbench(Workbench):
threedcmdgroup = threedopcmdlist
if Path.Preferences.experimentalFeaturesEnabled():
projcmdlist.append("Path_Sanity")
prepcmdlist.append("Path_Shape")
extracmdlist.extend(["Path_Area", "Path_Area_Workplane"])
specialcmdlist.append("Path_ThreadMilling")

View File

@@ -28,12 +28,11 @@ Path projects. Ideally, the user could execute these utilities from an icon
to make sure tools are selected and configured and defaults have been revised
"""
from PySide import QtCore, QtGui
from PySide import QtGui
import FreeCAD
import FreeCADGui
import Path
import Path.Log
import PathScripts
from collections import Counter
from datetime import datetime
import os
@@ -43,7 +42,7 @@ from PySide.QtCore import QT_TRANSLATE_NOOP
translate = FreeCAD.Qt.translate
if True:
if False:
Path.Log.setLevel(Path.Log.Level.DEBUG, Path.Log.thisModule())
Path.Log.trackModule(Path.Log.thisModule())
else: