What @mathew.hutton suggested indeed doesn't work.
Because the post processor does not know if the normal or the ramp spindle speed will be needed for the first cut. And therefore it just defaults to the normal spindle speed.
What I have done in our post is use the turret number 2 to trigger the ramping behavior in the post.
It now looks like this:
if(tool.turret == 2){
writeBlock(
sOutput.format(tool.rampingSpindleRPM), mFormat.format(tool.clockwise ? 3 : 4)
);
writeBlock("G4 X2");
writeBlock(
sOutput.format(tool.spindleRPM), mFormat.format(tool.clockwise ? 3 : 4)
);
forceAny();
} else {
writeBlock(
sOutput.format(tool.spindleRPM), mFormat.format(tool.clockwise ? 3 : 4)
); }
What was this:
writeBlock(
sOutput.format(tool.spindleRPM), mFormat.format(tool.clockwise ? 3 : 4)
);
So I just give the lang fan turret number 2 in the tool library and it works like a charm.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.