with MASTERCAM 9.1*
1- During design phase orientate the part with Z perpendicular to the working plane
2- Chose option MSurf5ax
3- Choose POST MPROUTER_5X.PST (No router)
4- Generate the POST
In RCAM the WorkObj must be oriented with Z according to BaseFrame.
The Tool must have inverted Z (pointing inside the mill tool)
MODULE CALIBDATA(SYSMODULE)
!Maquinacao a 5X
!Ferramenta rodada 180 em Z (218) graus
PERS tooldata MyTool2:=[TRUE,[[31.000,0.000,229.000],[0.32557 ,0.00000 ,-0.94552,0.00000 ]],[1.000,[0.000,0.000,1.000],[1,0,0,0],0.00,0.00,0.00]];
!Z orientado como em World
PERS wobjdata Workobject_3:=[FALSE,TRUE,"",[[1000.000,300.000,500.000],[1 ,0.00000 ,0,0.00000 ]],[[0,0,0],[1,0,0,0]]];
PERS speeddata vtcp:=[8.143,200,5000,1000];
PERS zonedata z03:=[FALSE,0.3,0.3,0.3,0.03,0.3,0.03];
ENDMODULE
*