From 7b854c87c06f1f885f089f00703e5600dc092bd9 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Fri, 8 Dec 2023 16:14:06 +0100 Subject: [PATCH] =?UTF-8?q?DataBeam=20:=20-=20altra=20correzione=20a=20Rou?= =?UTF-8?q?ndArch=20per=20senso=20rotazione=20fresa=20e=20modalit=C3=A0=20?= =?UTF-8?q?climb.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessRoundArch.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/LuaLibs/ProcessRoundArch.lua b/LuaLibs/ProcessRoundArch.lua index eceab1a..3eff86e 100644 --- a/LuaLibs/ProcessRoundArch.lua +++ b/LuaLibs/ProcessRoundArch.lua @@ -1,4 +1,4 @@ --- ProcessRoundArch.lua by Egaltech s.r.l. 2023/05/18 +-- ProcessRoundArch.lua by Egaltech s.r.l. 2023/12/07 -- Gestione calcolo archi per Travi -- Tabella per definizione modulo @@ -219,19 +219,15 @@ function ProcessRoundArch.Make( Proc, nPhase, nRawId, nPartId, dOvmHead) EgtSetMachiningParam( MCH_MP.TOOLINVERT, true) end -- se seconda passata, inverto direzione di lavoro - if j == 1 then + if ( j == 1 and not bToolInv) or ( j == 2 and bToolInv) then EgtSetMachiningParam( MCH_MP.INVERT, EgtIf( bCW, true, false)) else EgtSetMachiningParam( MCH_MP.INVERT, EgtIf( bCW, false, true)) end -- assegno affondamento EgtSetMachiningParam( MCH_MP.DEPTH, dDepth) - -- assegno lato di lavoro - if bToolInv then - EgtSetMachiningParam( MCH_MP.WORKSIDE, EgtIf( bCW, MCH_MILL_WS.RIGHT, MCH_MILL_WS.LEFT)) - else - EgtSetMachiningParam( MCH_MP.WORKSIDE, EgtIf( bCW, MCH_MILL_WS.LEFT, MCH_MILL_WS.RIGHT)) - end + -- assegno lato di lavoro (per avere lavorazione climb) + EgtSetMachiningParam( MCH_MP.WORKSIDE, EgtIf( bCW, MCH_MILL_WS.LEFT, MCH_MILL_WS.RIGHT)) -- posizione braccio porta testa local nSCC = MCH_SCC.NONE if not BD.C_SIMM and not BD.TURN then