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

Allow spaces between X(space)Coordinate #1090

Merged
merged 1 commit into from
Aug 20, 2020
Merged

Conversation

dholth
Copy link
Contributor

@dholth dholth commented Aug 7, 2020

A different solution would be to strip all spaces from the gcode line before parsing.

Inkscape gcodetools produces gcode with whitespace like G02 X 447.2989 Y 628.0176 Z -0.1250 I -153.8298 J 36.9056 F 400.0000

A different solution would be to strip all spaces from the gcode line before parsing
@kliment
Copy link
Owner

kliment commented Aug 20, 2020

@dholth Can you check if this handles commands like G28 Y correctly? That's my only concern about it. Other than that I think it's okay to merge.

@kliment
Copy link
Owner

kliment commented Aug 20, 2020

Just tested it myself and it seems to handle everything correctly. I'll merge this as it is - thank you for your contribution!

@kliment kliment merged commit 1321acf into kliment:master Aug 20, 2020
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