DataBeam :
- migliorato calcolo ingombri di testa delle feature per posizionamento pinze - feature Chamfer divisa in parti se lunga.
This commit is contained in:
+5
-2
@@ -1,4 +1,4 @@
|
||||
-- BeamLib.lua by Egaltech s.r.l. 2020/02/06
|
||||
-- BeamLib.lua by Egaltech s.r.l. 2020/02/12
|
||||
-- Libreria globale per Travi
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
@@ -740,8 +740,11 @@ function BeamLib.MakeOneFaceBySaw( nSurfId, nFacet, sCutting, dSawDiam, Par5, dV
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
function BeamLib.UpdateHCING( nRawId, dHCI)
|
||||
function BeamLib.UpdateHCING( nRawId, dHCI, dDist)
|
||||
local dOldHCI = EgtGetInfo( nRawId, 'HCING', 'd')
|
||||
if dDist and dDist > dOldHCI + 10 then
|
||||
return
|
||||
end
|
||||
if not dOldHCI or dHCI > dOldHCI then
|
||||
EgtSetInfo( nRawId, 'HCING', dHCI)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user