Originally Posted by
shred
PP has no idea that's the clearance height, it's just where the next operation starts from, so it goes there. Why PP (and Autodesk) made the choice to move in X and Y first I have no idea. Maybe to avoid problems with 'dogleg rapids' depending how the machine moves.
You can fix it in the F360 post by adding a G53 Z0 after each tool change like so--- writeBlock(gFormat.format(53), ("Z0")) .or fool with the isHeadConfiguration stuff, but I've not messed with that.
Put it in this code in function onSection() , either here to do it right after the M6, or you can put it after the coolant and spindle stuff. BTW, there's some Z-checking code in there that's skipped for some reason as well.
if (properties.useM6) {
writeBlock("T" + toolFormat.format(tool.number),
gFormat.format(43),
hFormat.format(lengthOffset),
mFormat.format(6));
writeBlock(gFormat.format(53), ("Z0"));
}
extra credit for making it switchable with a new user-settable variable.