Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean: Remove redundant movement commands #1

Closed
md8n opened this issue May 27, 2020 · 1 comment
Closed

Clean: Remove redundant movement commands #1

md8n opened this issue May 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@md8n
Copy link
Owner

md8n commented May 27, 2020

The G0 movement command in a line of GCode such as:

G0 G40 G90 G17

Is invalid because it is not followed by any arguments (e.g. X, Y, Z, or others depending on the machine state). The GCode specification requires that there be at least one positional argument for any movement command.

It would be best to remove a movement command in such a case, as this will ensure proper functioning of GCodeClean itself, as well as 'correct' GCode being supplied to any CNC machine or 3D printer.

@md8n md8n added the enhancement New feature or request label May 27, 2020
@md8n
Copy link
Owner Author

md8n commented Jun 30, 2020

Fixed by v0.8.5.4

@md8n md8n closed this as completed Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant