DataBeam :
- tolleranza su sezione portata a 0.1 mm (100 * GEO.EPS_SMALL) - funzioni StartsWith e EndsWith sostituite da analoghe funzioni di libreria (con prefisso Egt) - corretta gestione tagli con testa che taglia da sotto in su - riordino forature per gestione inclinazione limite da superficie trave - in Mortasature se non si può pulire angoli con mortasatrice warning invece di errore.
This commit is contained in:
@@ -158,9 +158,9 @@ local function CleanCorners( Proc, dMorH, vtN, bOpenBtm, AuxId)
|
||||
-- al momento se l'utensile non arriva salto la lavorazione
|
||||
local dFullMorH = EgtIf( bOpenBtm, dMorH * 2, dMorH)
|
||||
if dFullMorH > dMaxDepth + 10 * GEO.EPS_SMALL then
|
||||
local sErr = 'Error in Mortise - corner cleaning : elevation (' .. EgtNumToString( dFullMorH, 1) .. ') bigger than max tool depth (' .. EgtNumToString( dMaxDepth, 1) .. ')'
|
||||
EgtOutLog( sErr)
|
||||
return false, sErr
|
||||
local sWarn = 'Warning in corner cleaning with mortise: elevation (' .. EgtNumToString( dFullMorH, 1) .. ') bigger than max tool depth (' .. EgtNumToString( dMaxDepth, 1) .. ')'
|
||||
EgtOutLog( sWarn)
|
||||
return true, sWarn
|
||||
end
|
||||
-- verifico se la tasca ha dimensioni sufficienti per l'utensile
|
||||
local nSurf = EgtSurfTmByFlatContour( EgtGetParent( AuxId), AuxId, 0.05)
|
||||
@@ -170,9 +170,9 @@ local function CleanCorners( Proc, dMorH, vtN, bOpenBtm, AuxId)
|
||||
end
|
||||
EgtErase( nFlat)
|
||||
if dSawWidth >= dMortiseWidth + 10 * GEO.EPS_SMALL or dSawThick >= dMortiseThick + 10 * GEO.EPS_SMALL then
|
||||
local sErr = 'Error in Mortise - corner cleaning: pocket too small'
|
||||
EgtOutLog( sErr)
|
||||
return false, sErr
|
||||
local sWarn = 'warning in corner cleaning with mortise: pocket too small'
|
||||
EgtOutLog( sWarn)
|
||||
return true, sWarn
|
||||
end
|
||||
-- cerco le due facce migliori da lavorare
|
||||
local nWorkFaceInd, nWorkFaceInd2
|
||||
|
||||
Reference in New Issue
Block a user