Merge pull request #27992 from jffmichi/cam_fix_post_recompute

CAM: Fix operations needing recompute after post-process
This commit is contained in:
sliptonic
2026-03-19 11:52:04 -05:00
committed by GitHub
2 changed files with 5 additions and 8 deletions
-7
View File
@@ -1887,13 +1887,6 @@ class PostProcessor:
postables = self._buildPostList(early_tool_prep)
Path.Log.debug(f"postables {postables}")
# Process canned cycles for drilling operations
for _, section in enumerate(postables):
_, sublist = section
for obj in sublist:
if hasattr(obj, "Path"):
obj.Path = PostUtils.cannedCycleTerminator(obj.Path)
Path.Log.debug(f"postables count: {len(postables)}")
g_code_sections = []
+5 -1
View File
@@ -708,8 +708,12 @@ def parse_a_path(values: Values, gcode: Gcode, pathobj) -> None:
)
adaptive_op_variables = determine_adaptive_op(values, pathobj)
# Apply arc splitting if requested
path_to_process = pathobj.Path
# Process canned cycles for drilling operations
path_to_process = PostUtils.cannedCycleTerminator(path_to_process)
# Apply arc splitting if requested
if values["SPLIT_ARCS"]:
path_to_process = PostUtils.splitArcs(path_to_process)