corretta gestione affondamento in caso di utensile troppo corto, per abbinarsi con MaxElev
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user