Skip to content

Commit

Permalink
Do not go to X0 Y0 or pos defs if not activated
Browse files Browse the repository at this point in the history
  • Loading branch information
hmunktell committed Mar 9, 2025
1 parent 329460c commit 71d0843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/addons/cam/gcode_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def start_new_file():
# ie: outputting more than one operation
# otherwise the machine gets sent back to 0,0 for each operation which is unecessary
shapes += 1 # Count amount of shapes
if i > 0 and vi == 0:
if (i > 0 and vi == 0) or (not m.use_position_definitions and vi == 0):
continue
v = vert.co
# redundant point on line detection
Expand Down

0 comments on commit 71d0843

Please sign in to comment.