Improvement/SideMillGreater90:

- aggiunto warning per lapjoint da sotto con angolo ottuso non completata
This commit is contained in:
luca.mazzoleni
2022-12-01 16:08:15 +01:00
parent d37e4bdf8d
commit 5023887f2e
+5 -1
View File
@@ -1377,6 +1377,7 @@ end
---------------------------------------------------------------------
local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, dMaxDepthOnSide, bEnablePreMill, bMachFromDn, dAng, bAsEnablePreMill, nSinglePass, bExcludeFinishing)
local sWarn
-- dati della faccia principale (la più verticale)
local ptC, vtN = EgtSurfTmFacetCenter( Proc.Id, nFacet, GDB_ID.ROOT)
local dElev = WL.GetFaceElevation( Proc.Id, nFacet, nRawId)
@@ -1917,6 +1918,9 @@ local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, d
EgtSetOperationMode( nMchFId, false)
return false, sErr
end
else
sWarn = 'Warning in LapJoint : upside down groove with obtuse angle not completed'
EgtOutLog( sWarn)
end
-- verifico se devo lavorare anche la seconda faccia basandomi sul valore dell'angolo interno
@@ -2034,7 +2038,7 @@ local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, d
end
end
return true
return true, sWarn
end
---------------------------------------------------------------------