Jun 30 2022
10:37 AM skunkworks: My first pull request. Think I did it mostly correctly
05:09 PM pere: skunkworks: do not know g-code semantics enough to have an opinion, but could the problem be in the parser, not the example?
05:19 PM pere: I guess what I really ask for is the url to the g-code language specification, to look up the sematics.
07:21 PM Tom_L: https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=823374
07:22 PM Tom_L: http://linuxcnc.org/docs/2.6/html/gcode/rs274ngc.html
09:05 PM skunkworks: pere: I am pretty sure it is doing what it should - the linuxcnc order of operations says - F word is parced before units (G20/21)
09:06 PM skunkworks: http://linuxcnc.org/docs/devel/html/gcode/overview.html#gcode:order-of-execution
09:10 PM skunkworks: So - the first time you run the program on an english(inch) machine - it runs the gcode at 400ipm. (because the first line has F400 and G21) so it sets the feedrate - then the units to metric. The second time you run it - it is already in metric - the the Feed rate is read in mm/s instead.
09:10 PM skunkworks: mm/min
09:10 PM skunkworks: whatever