correzioni alle chiamate a GetSawBlockedAxis per Oikos

This commit is contained in:
luca.mazzoleni
2024-01-09 11:43:07 +01:00
parent 0778516765
commit 0a830c7f4b
4 changed files with 14 additions and 10 deletions
+3 -2
View File
@@ -1179,8 +1179,9 @@ function ProcessLongCut.Make( Proc, nPhase, nRawId, nPartId, bCustUseBlade, nCus
-- imposto posizione braccio porta testa
EgtSetMachiningParam( MCH_MP.SCC, nSCC)
-- imposto angolo 3° asse rot
local bIsDownHead = EgtEndsWith( sCutting, '_H2')
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, BL.GetSawBlockedAxis( 1, bIsDownHead))
local bDownHead = not bIsTopBladeCurrent
local vtOut = EgtIf( vtN:getX() > 0, X_AX(), -X_AX())
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, BL.GetSawBlockedAxis( 1, bDownHead, b3Raw, vtN, vtOut))
-- eseguo
if not ML.ApplyMachining( true, false) then
local _, sErr = EgtGetLastMachMgrError()