From 037e07921c133ff59c2a7e05cecdc2e103b629e7 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Tue, 6 May 2025 18:35:27 +0200 Subject: [PATCH] - in FACEBYBLADE implementata funzione calcolo SCC migliore. Da gestire casi split e da implementare funzione specifica per ogni macchina --- StrategyLibs/FACEBYBLADE.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/StrategyLibs/FACEBYBLADE.lua b/StrategyLibs/FACEBYBLADE.lua index 6df1c28..f3a0a17 100644 --- a/StrategyLibs/FACEBYBLADE.lua +++ b/StrategyLibs/FACEBYBLADE.lua @@ -168,20 +168,6 @@ local function GetSCC( vtMachiningDirection, vtEdgeDirection, vtNFace) end end - -- if vtMachiningDirection:getZ() < -0.9 then - -- nSCC = MCH_SCC.ADIR_ZM - -- elseif vtMachiningDirection:getZ() > 0.9 then - -- nSCC = MCH_SCC.ADIR_ZP - -- elseif vtMachiningDirection:getY() < -0.707 then - -- nSCC = MCH_SCC.ADIR_YM - -- elseif vtMachiningDirection:getY() > 0.707 then - -- nSCC = MCH_SCC.ADIR_YP - -- elseif vtMachiningDirection:getX() < -0.707 then - -- nSCC = MCH_SCC.ADIR_XM - -- elseif vtMachiningDirection:getX() > 0.707 then - -- nSCC = MCH_SCC.ADIR_XP - -- end - return nSCC end