Skip to content

Add missing G53 for absolute zchange in milldrill.#609

Closed
bombela wants to merge 0 commit into
pcb2gcode:masterfrom
bombela:master
Closed

Add missing G53 for absolute zchange in milldrill.#609
bombela wants to merge 0 commit into
pcb2gcode:masterfrom
bombela:master

Conversation

@bombela

@bombela bombela commented Jan 25, 2022

Copy link
Copy Markdown
Contributor

At best, if your absolute zchange position was 0mm, you would have been
presented with an impossible tool change. At worse, for a negative
zchange position, your CNC would have attempted murder on your
workpiece.

The final retraction at the end of the program already has the G53
prefix.

Comment thread drill.cpp Outdated
<< "G01 F" << target->feed * cfactor << " (Feedrate)\n";
if (zchange_absolute) {
of << "G53 ";
};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semicolon here is unnecessary

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed.

@eyal0

eyal0 commented Feb 7, 2022

Copy link
Copy Markdown
Contributor

I didn't mean to close this! So strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants