diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 800af91db1ac..68cb51645b19 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1799,7 +1799,10 @@ def getPath(edges=[],wires=[],pathname=None): if rot < -90: rot += 180 #be carefull with the sweep flag - drawing_plane_normal = FreeCAD.DraftWorkingPlane.axis + if hasattr(FreeCAD,"DraftWorkingPlane"): + drawing_plane_normal = FreeCAD.DraftWorkingPlane.axis + else: + drawing_plane_normal = FreeCAD.Vector(0,0,1) if plane: drawing_plane_normal = plane.axis flag_large_arc = (((e.ParameterRange[1] - \ e.ParameterRange[0]) / math.pi) % 2) > 1