Welcome! Log In Create A New Profile

Advanced

GCode standard test?

Posted by Robin2 
GCode standard test?
October 16, 2013 01:17PM
I'm writing a short JRuby program to convert GCode to drive my stepper motors with my own Arduino code.

I wonder if there is a standard piece of GCode that can be used to prove that GCode interpreters work?

...R
Re: GCode standard test?
October 16, 2013 02:20PM
could you use the standard output from slic3r, it would give a template to work to ???.


Random Precision
Re: GCode standard test?
October 16, 2013 02:57PM
I don't know what to feed into slic3r that will produce GCode that is a effective test of a GCode interpreter. (The GCode equivalent ot "the quick brown fox jumps over the lazy dog")

It is usual for software to have some standard tests, I'm just wondering if something like that already exists for GCode?

...R
Re: GCode standard test?
October 16, 2013 03:25PM
We don't even have a standard Gcode, let alone a test suite. If you want to write some test files, that would be great! You might need to write a Gcode spec first, to be clear what is being tested.

I'm not sure how you would prove an interpreter is correct though, since the result is machine behaviour which is not very easy to verify, apart from seeing if the print looks right.
Re: GCode standard test?
October 16, 2013 03:38PM
I'm a beginner here.

What sort of stuff should go into a test file / test suite?

I agree there would have to be some basis for measuring the machine behaviour.

...R
Sorry, only registered users may post in this forum.

Click here to login