correzione ulteriore
This commit is contained in:
@@ -413,7 +413,11 @@ 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 = dLen
|
||||
if dMaxDepth == 0 then
|
||||
dDepth = 0
|
||||
else
|
||||
dDepth = dLen
|
||||
end
|
||||
EgtOutLog( sMyWarn)
|
||||
end
|
||||
EgtSetMachiningParam( MCH_MP.DEPTH, dDepth)
|
||||
|
||||
Reference in New Issue
Block a user