From aa0e4834563c7c9ff731340030336b7299f07703 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 28 Oct 2020 12:21:50 +0000 Subject: [PATCH] =?UTF-8?q?DataBeam=20:=20-=20in=20profilo=20di=20testa=20?= =?UTF-8?q?corretta=20finitura=20gradini=20quando=20feature=20=C3=A8=20sot?= =?UTF-8?q?to=20la=20trave.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessProfHead.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessProfHead.lua b/LuaLibs/ProcessProfHead.lua index ddf18ef..3ee297e 100644 --- a/LuaLibs/ProcessProfHead.lua +++ b/LuaLibs/ProcessProfHead.lua @@ -517,7 +517,7 @@ function ProcessProfHead.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) local dLen = Proc.Box:getDimX() local dDep = EgtIf( nSide == 1, Proc.Box:getDimZ(), Proc.Box:getDimY()) -- se più alta che lunga o da sotto con il parametro Q abilitato - if (dDep > dLen) or ( nSide == -1 and EgtGetInfo( Proc.Id, sMachFacesUnderneath, 'i') == 1) then + if ( dDep > dLen) or ( nSide == -1 and EgtGetInfo( Proc.Id, sMachFacesUnderneath, 'i') == 1) then for i = 1, #vAngs do sName = 'ProfV'.. tostring( i)..'_'..( EgtGetName( Proc.Id) or tostring( Proc.Id)) local nMchV2Id = EgtAddMachining( sName, sMilling) @@ -555,7 +555,7 @@ function ProcessProfHead.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) end end -- altrimenti - else + elseif nSide ~= -1 then for i = 1, #vAngs do sName = 'ProfV'.. tostring( i)..'_'..( EgtGetName( Proc.Id) or tostring( Proc.Id)) local nMchVId = EgtAddMachining( sName, sMilling)