We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I wanted to know how to convert gcode lines to x,y,z coordinates in order to implement them in a 3d simulation.
Given a g-code "line" I parse it with
g = GCode.parse_line(line)
but I don't know how to get the x,y,z coordinates from the g.params .
thanks for any help!
The text was updated successfully, but these errors were encountered:
Hi. g.params is a simple dict with capitalized string parameters. I.e. to get X from the line, just call g.get('X')
Sorry, something went wrong.
No branches or pull requests
Hi,
I wanted to know how to convert gcode lines to x,y,z coordinates in order to implement them in a 3d simulation.
Given a g-code "line" I parse it with
g = GCode.parse_line(line)
but I don't know how to get the x,y,z coordinates from the g.params .
thanks for any help!
The text was updated successfully, but these errors were encountered: