DataBeam :

- in contorni liberi gestite fresature parziali non fattibili da sotto
- aggiunti antischeggia in mortase a coda di rondine
- migliorie varie.
This commit is contained in:
Dario Sassi
2020-03-18 22:10:48 +00:00
parent b6cbab67ec
commit c14b77c9cd
8 changed files with 169 additions and 64 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
-- MachiningLib.lua by Egaltech s.r.l. 2020/02/26
-- MachiningLib.lua by Egaltech s.r.l. 2020/03/18
-- Libreria ricerca lavorazioni per Travi
-- Tabella per definizione modulo
@@ -38,12 +38,14 @@ function MachiningLib.FindCutting( sType)
end
---------------------------------------------------------------------
function MachiningLib.FindMilling( sType, dDepth)
function MachiningLib.FindMilling( sType, dDepth, sTuuidMstr)
for i = 1, #Millings do
local Milling = Millings[i]
if Milling.On and Milling.Type == sType and SetCurrMachiningAndTool( Milling.Name) then
local sTuuid = EgtGetMachiningParam( MCH_MP.TUUID)
local dTMaxDepth = EgtTdbGetCurrToolMaxDepth()
if not dDepth or dTMaxDepth > dDepth - GEO.EPS_SMALL then
if ( not sTuuidMstr or sTuuidMstr == sTuuid) and
( not dDepth or dTMaxDepth > dDepth - GEO.EPS_SMALL) then
return Milling.Name
end
end