corretta gestione affondamento in caso di utensile troppo corto, per abbinarsi con MaxElev

This commit is contained in:
luca.mazzoleni
2022-07-04 12:25:37 +02:00
parent df4ea54347
commit 0054646e78
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ function ProcessDrill.Make( Proc, nPhase, nRawId, nPartId)
local dToolAddLength = dLen - dMaxElev
if dDepth - dToolAddLength > dMaxDepth + 10 * GEO.EPS_SMALL then
sMyWarn = 'Warning in drill : depth (' .. EgtNumToString( dDepth - dToolAddLength, 1) .. ') bigger than max tool depth (' .. EgtNumToString( dMaxDepth, 1) .. ')'
dDepth = dMaxDepth + dToolAddLength
dDepth = dLen
EgtOutLog( sMyWarn)
end
EgtSetMachiningParam( MCH_MP.DEPTH, dDepth)