DataBeam :

- correzioni e migliorie varie.
This commit is contained in:
Dario Sassi
2019-07-29 15:01:19 +00:00
parent 7e3c951901
commit 8dee1a0c97
12 changed files with 325 additions and 159 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ function ProcessMortise.Make( Proc, nPhase, nRawId, nPartId)
local _, dCenElev = BL.GetPointDirDepth( nRawId, ptC, vtN)
dMorH = max( dMorH, dCenElev or 0)
-- recupero la lavorazione
local sPocketing = ML.FindPocketing( 'Mortise')
local sPocketing = ML.FindPocketing( 'Mortise', 30)
if not sPocketing then
local sErr = 'Error on process ' .. tostring( Proc.Id) .. ' pocketing not found in library'
EgtOutLog( sErr)
@@ -89,7 +89,7 @@ function ProcessMortise.Make( Proc, nPhase, nRawId, nPartId)
local sTuuid = EgtMdbGetCurrMachiningParam( MCH_MP.TUUID)
if EgtTdbSetCurrTool( EgtTdbGetToolFromUUID( sTuuid) or '') then
dMillDiam = EgtTdbGetCurrToolParam( MCH_TP.DIAM) or dMillDiam
dMaxDepth = ( EgtTdbGetCurrToolMaxDepth() or dMaxDepth) - BD.COLL_SIC
dMaxDepth = ( EgtTdbGetCurrToolMaxDepth() or dMaxDepth)
end
end
-- inserisco la lavorazione di svuotatura