Fixing 'red ink' bugs in CAM
fixes: https://github.com/Ondsel-Development/FreeCAD/issues/93 fixes https://github.com/Ondsel-Development/FreeCAD/issues/87 fixes https://github.com/Ondsel-Development/FreeCAD/issues/88 fix threadmilling error if not proper tool fix vcarve error if no proper tool fix probe error if no proper tool fix deburr error if no base geometry Fix adaptive op error if no base geometry
This commit is contained in:
@@ -37,6 +37,7 @@ import Path.Main.Sanity.ImageBuilder as ImageBuilder
|
||||
import Path.Main.Sanity.ReportGenerator as ReportGenerator
|
||||
import os
|
||||
import tempfile
|
||||
import Path.Dressup.Utils as PathDressup
|
||||
|
||||
translate = FreeCAD.Qt.translate
|
||||
|
||||
@@ -454,11 +455,12 @@ class CAMSanity:
|
||||
|
||||
used = False
|
||||
for op in obj.Operations.Group:
|
||||
if hasattr(op, "ToolController") and op.ToolController is TC:
|
||||
base_op = PathDressup.baseOp(op)
|
||||
if hasattr(base_op, "ToolController") and base_op.ToolController is TC:
|
||||
used = True
|
||||
tooldata.setdefault("ops", []).append(
|
||||
{
|
||||
"Operation": op.Label,
|
||||
"Operation": base_op.Label,
|
||||
"ToolController": TC.Label,
|
||||
"Feed": str(TC.HorizFeed),
|
||||
"Speed": str(TC.SpindleSpeed),
|
||||
|
||||
Reference in New Issue
Block a user