Merge pull request #21416 from jffmichi/custom_gcode_allow_empty_lines

CAM: allow empty lines in Custom operation
This commit is contained in:
sliptonic
2025-05-29 09:47:32 -05:00
committed by GitHub
17 changed files with 81 additions and 23 deletions

View File

@@ -347,7 +347,7 @@ def parse(pathobj):
if command == lastcommand:
outstring.pop(0)
if c.Name[0] == "(" and not OUTPUT_COMMENTS: # command is a comment
if c.Name.startswith("(") and not OUTPUT_COMMENTS: # command is a comment
continue
# Now add the remaining parameters in order