-
Notifications
You must be signed in to change notification settings - Fork 16
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
3D viewer does not handle omitting G00/G01 properly #33
Comments
Hmm. Yes, you are correct that the 3D viewer just keeps the last G command. Since you're using pcb2gcode you could optionally use ChiliPeppr's Eagle On Wed, Dec 16, 2015 at 7:26 AM, Matthijs Kooijman <[email protected]
|
Hm, I might have a plunge then, though time is also limited for me. Shouldn't be a terribly complicated change, I would expect though.
I'm generating gerbers using KiCad, so an Eagle import wouldn't help me I think (perhaps KiCad has an Eagle export, but I don't thinks so). |
Ok, well, perhaps try Flatcam then as i have not heard of the gcode having On Wed, Dec 16, 2015 at 9:06 AM, Matthijs Kooijman <[email protected]
|
AFAIU, the G00 and G01 commands are modal, meaning you can specify either of them once and then omit them later. E.g.:
Should perform two G01 moves. This is also handled properly by the 3D viewer. However, when another command is inserted in between, like:
The 3D viewer no longer shows two G01 moves but (none, in this case). I suspect that the modality of G00 and G01 isn't properly implemented in the 3D viewer, but instead it just remembers the last Gxx command for when it is omitted (or something along those lines, I didn't check the code).
Here's a (reduced) real-world example showing this problem, generated by pcb2gcode and simplified by me:
The text was updated successfully, but these errors were encountered: