diff --git a/src/Mod/Path/PathScripts/PathDressupHoldingTags.py b/src/Mod/Path/PathScripts/PathDressupHoldingTags.py index 8732910501..b11a1267ef 100644 --- a/src/Mod/Path/PathScripts/PathDressupHoldingTags.py +++ b/src/Mod/Path/PathScripts/PathDressupHoldingTags.py @@ -31,6 +31,7 @@ import PathScripts.PathUtil as PathUtil import PathScripts.PathUtils as PathUtils import copy import math +import traceback from PathScripts.PathDressupTagPreferences import HoldingTagPreferences from PathScripts.PathUtils import waiting_effects @@ -471,6 +472,7 @@ class MapWireToTag: return commands except Exception as e: PathLog.error("Exception during processing tag @(%.2f, %.2f) (%s) - disabling the tag" % (self.tag.x, self.tag.y, e.args[0])) + #traceback.print_exc(e) self.tag.enabled = False commands = [] for e in self.edges: diff --git a/src/Mod/Path/PathScripts/PathGeom.py b/src/Mod/Path/PathScripts/PathGeom.py index f79a50adbe..e1051a8ed8 100644 --- a/src/Mod/Path/PathScripts/PathGeom.py +++ b/src/Mod/Path/PathScripts/PathGeom.py @@ -465,6 +465,8 @@ def removeDuplicateEdges(wire): unique.append(e) return Part.Wire(unique) +OddsAndEnds = [] + def flipEdge(edge): '''flipEdge(edge) Flips given edge around so the new Vertexes[0] was the old Vertexes[-1] and vice versa, without changing the shape. @@ -507,6 +509,8 @@ def flipEdge(edge): return Part.Edge(flipped) + global OddsAndEnds + OddsAndEnds.append(edge) PathLog.warning(translate('PathGeom', "%s not support for flipping") % type(edge.Curve)) def flipWire(wire):