Turns out my own post had that bit of logic in there already. However, there was a slight modification:
//writeComment("Spiral move");
if (dr > maximumCircularRadiiDifference) { // maximum limit
linearize(0.01); // or alternatively use other G-codes for spiral motionBecame:
//writeComment("Spiral move");
if (dr > maximumCircularRadiiDifference) { // maximum limit
linearize(Spiraltolerance); // or alternatively use other G-codes for spiral motion
Also, up at the top of the file, this bit of code:
capabilities = CAPABILITY_MILLING;
tolerance = spatial(0.002, MM);
Spiraltolerance = spatial(0.025, MM);
In the end, the code it outputs is 58 lines, whereas the edited Fanuc code is 100
Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.