From 25772406997db043c937291153fc2212f2f28c58 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Wed, 8 Jan 2025 12:00:56 +0100 Subject: [PATCH] =?UTF-8?q?Aggiunta=20gestione=20qualit=C3=A0=20VMILL=20da?= =?UTF-8?q?=20impostazioni=20macchina?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common_FAST.mlpe | 30 +++++++++++++++++------------- UpdateLog.txt | 1 + 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Common_FAST.mlpe b/Common_FAST.mlpe index 03e44f3..68fdf7d 100644 --- a/Common_FAST.mlpe +++ b/Common_FAST.mlpe @@ -213,20 +213,24 @@ function OnSimulDispositionStart() end end -- determino la risoluzione dello Zmap - local dArea = b3Raw:getDimX() * b3Raw:getDimY() + b3Raw:getDimX() * b3Raw:getDimZ() + b3Raw:getDimY() * b3Raw:getDimZ() local dTol = 4.71 - if dArea < CoeffVM * 0.15e6 then - dTol = 0.71 - elseif dArea < CoeffVM * 0.3e6 then - dTol = 1.01 - elseif dArea < CoeffVM * 0.6e6 then - dTol = 1.51 - elseif dArea < CoeffVM * 1.2e6 then - dTol = 1.97 - elseif dArea < CoeffVM * 2.4e6 then - dTol = 2.81 - elseif dArea < CoeffVM * 4.8e6 then - dTol = 3.77 + if EmtGetVMillStep then + dTol = EmtGetVMillStep( b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), 4.71) + else + local dArea = b3Raw:getDimX() * b3Raw:getDimY() + b3Raw:getDimX() * b3Raw:getDimZ() + b3Raw:getDimY() * b3Raw:getDimZ() + if dArea < 0.075e6 then + dTol = 0.71 + elseif dArea < 0.15e6 then + dTol = 1.01 + elseif dArea < 0.3e6 then + dTol = 1.51 + elseif dArea < 0.6e6 then + dTol = 1.97 + elseif dArea < 1.2e6 then + dTol = 2.81 + elseif dArea < 2.4e6 then + dTol = 3.77 + end end -- creo lo Zmap local VMillId = EgtVolZmapBox( nPartRawId, b3Raw:getMin(), b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), dTol, true, GDB_RT.GLOB) diff --git a/UpdateLog.txt b/UpdateLog.txt index 2c609e7..e6e309d 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -2,6 +2,7 @@ Versione 2.7a2 (08/01/2024) - (MLDE-SIM) Aggiunta gestione FACOLTATIVA 'EstimationRapidMultiplier' in MLDE per regolare il tempo stimato. Se non presente in MLDE, default 1. +- (SIM) Aggiunta gestione qualità VMILL da impostazioni macchina Versione 2.7a1 (07/01/2024) - (MLDE-SIM-GEN) Nuovo aggregato 90° (H7) per fresa tipo BlockHaus. Ticket#2142