- aggiunta GetSawBlockedAxis per scegliere asse bloccato aggregato lama

This commit is contained in:
luca.mazzoleni
2024-01-04 17:29:42 +01:00
parent 6e8cd5f3bb
commit bc04b680d4
6 changed files with 41 additions and 10 deletions
+3
View File
@@ -229,6 +229,9 @@ function ProcessSawCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead, dOvmTail)
EgtSetMachiningParam( MCH_MP.SCC, nSCC)
-- imposto uso della faccia
EgtSetMachiningParam( MCH_MP.FACEUSE, nFaceUse)
-- imposto angolo 3° asse rot
local bIsDownHead = EgtEndsWith( sCutting, '_H2')
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, BL.GetSawBlockedAxis( 1, bIsDownHead))
-- eseguo
if not ML.ApplyMachining( true, false) then
local _, sErr = EgtGetLastMachMgrError()