DataBeam :

- nelle lavorazioni dei Profili si fa il pretaglio solo se toglie abbastanza materiale (sua elevazione almeno 20mm).
This commit is contained in:
Dario Sassi
2020-10-06 08:01:25 +00:00
parent 465553e644
commit 9cc2d70471
5 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
-- ProcessProfFront.lua by Egaltech s.r.l. 2020/05/22
-- ProcessProfFront.lua by Egaltech s.r.l. 2020/10/06
-- Gestione calcolo profilo frontale per Travi
-- Tabella per definizione modulo
@@ -221,12 +221,12 @@ function ProcessProfFront.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH)
if nChamfer < 0 then
return false, sChamfer
end
-- se smusso non è esclusivo
-- se smusso non è esclusivo, aggiungo sgrossatura con taglio di lama
if nChamfer < 2 then
-- aggiungo taglio di lama di sgrossatura e lo lavoro
local ptStart, vtNP = GetSawCutData( AuxId, vtN)
local AddId = EgtSurfTmPlaneInBBox( nAddGrpId, ptStart, vtNP, b3Solid, GDB_RT.GLOB)
if AddId then
if AddId and BL.GetFaceElevation( AddId, 0, nPartId) > 20.0 then
EgtSetName( AddId, 'AddCut_' .. tostring( Proc.Id))
EgtSetInfo( AddId, 'TASKID', Proc.TaskId)
-- applico la lavorazione