remove Python2 code

This commit is contained in:
mosfet80
2023-03-04 17:51:43 -06:00
committed by Chris Hennes
parent d03f287cf4
commit 3137dea940
79 changed files with 28 additions and 200 deletions
@@ -20,8 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
import Path
import math
-1
View File
@@ -20,7 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
from PySide import QtCore
from PySide.QtCore import QT_TRANSLATE_NOOP
@@ -20,7 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
import Path
import Path.Base.Gui.Util as PathGuiUtil
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
import FreeCADGui
-1
View File
@@ -28,7 +28,6 @@ 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 __future__ import print_function
from PySide import QtCore, QtGui
import FreeCAD
import FreeCADGui
-1
View File
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
-1
View File
@@ -20,7 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
import Path
-1
View File
@@ -20,7 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
import Path
-2
View File
@@ -21,8 +21,6 @@
# ***************************************************************************
from __future__ import print_function
__title__ = "Path Slot Operation"
__author__ = "russ4262 (Russell Johnson)"
__url__ = "http://www.freecadweb.org"
-2
View File
@@ -21,8 +21,6 @@
# ***************************************************************************
from __future__ import print_function
__title__ = "Path Surface Operation"
__author__ = "sliptonic (Brad Collette)"
__url__ = "https://www.freecadweb.org"
-1
View File
@@ -20,7 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
__title__ = "Path Surface Support Module"
__author__ = "russ4262 (Russell Johnson)"
-1
View File
@@ -20,7 +20,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
import Path
-1
View File
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
__title__ = "Path Waterline Operation"
-1
View File
@@ -22,7 +22,6 @@
"""Post Process command that will make use of the Output File and Post Processor entries in PathJob """
from __future__ import print_function
import FreeCAD
import FreeCADGui
@@ -31,7 +31,6 @@
# * *
# ***************************************************************************/
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -23,7 +23,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import os
import FreeCAD
from FreeCAD import Units
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
TOOLTIP = """
Dumper is an extremely simple postprocessor file for the Path workbench. It is used
+1 -1
View File
@@ -20,7 +20,7 @@
# * USA *
# * *
# ***************************************************************************/
from __future__ import print_function
import FreeCAD
import Part
import Path
@@ -25,7 +25,6 @@
# * and modifications (c) luvtofish ([email protected]) 2022 *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -30,7 +30,7 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path.Post.Utils as PostUtils
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
TOOLTIP = """
This is an example postprocessor file for the Path workbench. It is used
+1 -1
View File
@@ -21,7 +21,7 @@
# * USA *
# * *
# ***************************************************************************/
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -20,7 +20,7 @@
# * USA *
# * *
# ***************************************************************************/
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import datetime
import Path.Post.Utils as PostUtils
@@ -47,7 +47,7 @@ TODO
Many other OpenSBP commands not handled
"""
from __future__ import print_function
import FreeCAD
import Path
import Path.Base.Util as PathUtil
@@ -24,7 +24,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import Path.Post.UtilsArguments as PostUtilsArguments
import Path.Post.UtilsExport as PostUtilsExport
@@ -25,7 +25,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import Path.Post.UtilsArguments as PostUtilsArguments
import Path.Post.UtilsExport as PostUtilsExport
@@ -22,7 +22,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import Path.Post.UtilsArguments as PostUtilsArguments
import Path.Post.UtilsExport as PostUtilsExport
@@ -21,7 +21,7 @@
# * USA *
# * *
# ***************************************************************************/
from __future__ import print_function
import Path.Post.UtilsArguments as PostUtilsArguments
import Path.Post.UtilsExport as PostUtilsExport
@@ -22,7 +22,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import Path.Post.UtilsArguments as PostUtilsArguments
import Path.Post.UtilsExport as PostUtilsExport
@@ -21,7 +21,6 @@
# * *
# ***************************************************************************
from __future__ import print_function
import argparse
import datetime
+1 -1
View File
@@ -29,7 +29,7 @@
# https://wiki.freecadweb.org/Path_Postprocessor_Customization
# for details on post processors like this one.
from __future__ import print_function
import FreeCAD
from FreeCAD import Units
import Path
@@ -1,4 +1,3 @@
from __future__ import print_function
import FreeCAD
import FreeCADGui