Path: Vcarve fixes

formatting fixes
remove reference to old ToolType
This commit is contained in:
sliptonic
2020-09-19 10:03:09 -05:00
parent bfc37274bc
commit 315e18c78a
3 changed files with 23 additions and 15 deletions

View File

@@ -230,12 +230,6 @@ class ObjectVcarve(PathEngraveBase.ObjectOp):
'''opExecute(obj) ... process engraving operation'''
PathLog.track()
if obj.ToolController.Tool.ToolType != 'Engraver':
FreeCAD.Console.PrintError(
translate("Path_Vcarve",
"This operation requires an engraver tool.") + "\n")
return
if obj.ToolController.Tool.CuttingEdgeAngle >= 180.0:
FreeCAD.Console.PrintError(
translate("Path_Vcarve",