DataBeam :

- aggiunta funzione BeamLib.GetNzLimDownUp che dà il limite per taglio da sotto senza ribaltare testa
- correzioni per assegnazione TASKID alle geometrie aggiunte alle feature per le lavorazioni.
This commit is contained in:
Dario Sassi
2020-02-07 19:25:12 +00:00
parent 48a28d1298
commit be5c936234
14 changed files with 1731 additions and 697 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
-- ProcessTenon.lua by Egaltech s.r.l. 2019/12/10
-- ProcessTenon.lua by Egaltech s.r.l. 2020/02/07
-- Gestione calcolo tenone per Travi
-- Tabella per definizione modulo
@@ -130,10 +130,10 @@ function ProcessTenon.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
return false, sErr
end
-- creo piano di taglio sulla testa del tenone e lo lavoro
local AddId = EgtSurfTmPlaneInBBox( EgtGetParent( Proc.Id), ptC, vtN, b3Solid, GDB_RT.GLOB)
local AddId = EgtSurfTmPlaneInBBox( nAddGrpId, ptC, vtN, b3Solid, GDB_RT.GLOB)
if AddId then
EgtRelocate( AddId, nAddGrpId)
EgtSetName( AddId, 'AddCut_' .. tostring( Proc.Id))
EgtSetInfo( AddId, 'TASKID', Proc.TaskId)
-- se pezzo piccolo, in coda e piano inclinato attorno a Z applico svuotatura
if b3Solid:getDimX() < BD.LEN_SHORT_PART and vtExtr:getX() < 0 and abs( vtExtr:getY()) > 0.173 then
local sPocketing = ML.FindPocketing( 'OpenPocket')