From 93598217a42644d0d2be72e327848fea75a8bee2 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 2 Oct 2024 09:00:54 +0200 Subject: [PATCH] =?UTF-8?q?EgtMachKernel=202.6j1=20:=20-=20foro=20con=20pr?= =?UTF-8?q?ofondit=C3=A0=20non=20nulla=20ma=20con=20MaxElev=3D0;=20ora=20v?= =?UTF-8?q?iene=20lavorato=20lo=20stesso.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Drilling.cpp | 2 +- EgtMachKernel.rc | Bin 11774 -> 11782 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Drilling.cpp b/Drilling.cpp index 720ad98..0aaa5f0 100644 --- a/Drilling.cpp +++ b/Drilling.cpp @@ -1650,7 +1650,7 @@ Drilling::GenerateHoleCl( int nInd, const SelData& nCircId, const string& sPName if ( FromString( ExtractInfo( m_Params.m_sUserNotes, "MaxElev="), dMaxElev) && dElev > dMaxElev) { dElev = dMaxElev ; hole.ptIni += hole.vtDir * ( dElev - hole.dLen) ; - hole.dLen = dElev ; + hole.dLen = ( hole.dLen > 10 * EPS_SMALL ? max( dElev, 10 * EPS_SMALL) : dElev) ; } // limito lunghezza foro a massima lavorazione della punta double dAddLen = ( hole.bBlind ? 0 : m_Params.m_dThroughAddLen) ; diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index 7c07ad05178f2203246f881c9d0b7e45fdbe76a4..f9f561e4a2946a2623092e00829b059a9e0834f8 100644 GIT binary patch delta 129 zcmewt-4?Uq8ymYJg8_pMgW=}iY}U-oSqz4gA4=+OPUGrfL6W)1H2H*J9zs?KMHWS$ T2jk{d(k{&SG=r2Vhj0M^?&c=# delta 121 zcmZpR`4_$68yl-7gARl7=D%##%*>e##*-a|bvI`TxiM~D$L+=pm%PX{`HWy5l7b!< PxEzK?X*?R0=5PZ5xbY+D