CAM: Fix operations needing recompute after post-process
This commit is contained in:
@@ -296,13 +296,6 @@ class PostProcessor:
|
||||
|
||||
postables = self._buildPostList()
|
||||
|
||||
# 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 = []
|
||||
|
||||
@@ -705,8 +705,11 @@ def parse_a_path(values: Values, gcode: Gcode, pathobj) -> None:
|
||||
)
|
||||
adaptive_op_variables = determine_adaptive_op(values, pathobj)
|
||||
|
||||
# Apply arc splitting if requested
|
||||
# Process canned cycles for drilling operations
|
||||
path_to_process = pathobj.Path
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user