From 0d8ac9886973d58994b819553facd50f6667b6c1 Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 20 Feb 2023 12:24:39 +0100 Subject: [PATCH] DataBeam : - modifica a direzione limite in Y per invertire tagli perpendicolari di cubetti. --- LuaLibs/ProcessCut.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessCut.lua b/LuaLibs/ProcessCut.lua index 1b22d5c..2205a51 100644 --- a/LuaLibs/ProcessCut.lua +++ b/LuaLibs/ProcessCut.lua @@ -405,8 +405,8 @@ local function MakeFromTop( sCutting, Proc, nPhase, nRawId, nPartId, dOvmHead, b EgtSetInfo( vCuts[i][j], 'TASKID', Proc.TaskId) if ( i % 2) == 1 then local vtO = EgtSurfTmFacetNormVersor( vCuts[i][j], 0, GDB_ID.ROOT) - if ( vtN:getY() > 0.707 and vtO:getY() < -0.05) or - ( vtN:getY() < -0.707 and vtO:getY() > 0.05) then + if ( vtN:getY() > 0.766 and vtO:getY() < -0.05) or + ( vtN:getY() < -0.766 and vtO:getY() > 0.05) then EgtInvertSurf( vCuts[i][j]) bOrthInv = true end