DataBeam :

- modifiche a tagli e tenoni per entrare con lama dall'estremità vicina della trave (minimizzo ingombro di lavorazione).
This commit is contained in:
Dario Sassi
2019-11-27 08:09:52 +00:00
parent 25f2e9d07f
commit e6c1360a81
2 changed files with 13 additions and 6 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
-- ProcessTenon.lua by Egaltech s.r.l. 2019/09/27
-- ProcessTenon.lua by Egaltech s.r.l. 2019/11/26
-- Gestione calcolo tenone per Travi
-- Tabella per definizione modulo
@@ -137,8 +137,9 @@ function ProcessTenon.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
EgtRelocate( AddId, nAddGrpId)
EgtSetName( AddId, 'AddCut_' .. tostring( Proc.Id))
-- applico lavorazione
local CutProc = { Id = AddId, Grp = Proc.Grp, Prc = Proc.Prc, Box = Proc.Box, Fct = Proc.Fct, Flg = Proc.Flg}
local bOk, sErr = Cut.Make( CutProc, nPhase, nRawId, nPartId, 0)
local CutProc = { Id = AddId, Grp = Proc.Grp, Prc = Proc.Prc, Box = Proc.Box, Fct = Proc.Fct, Flg = Proc.Flg, Head = Proc.Head, Tail = Proc.Tail}
local bFromBottom = ( b3Solid:getDimX() < 1000 and vtExtr:getZ() > 0.25)
local bOk, sErr = Cut.Make( CutProc, nPhase, nRawId, nPartId, 0, bFromBottom)
if not bOk then return bOk, sErr end
end
end