DataBeam :

- aggiunta gestione di SteoJoint e StepJointNotch
- modifiche varie.
This commit is contained in:
Dario Sassi
2019-09-25 18:33:48 +00:00
parent c8a4a2bb6e
commit e42f60cebe
13 changed files with 452 additions and 58 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
-- ProcessTenon.lua by Egaltech s.r.l. 2019/07/16
-- ProcessTenon.lua by Egaltech s.r.l. 2019/09/25
-- Gestione calcolo tenone a coda di rondine per Travi
-- Tabella per definizione modulo
@@ -29,8 +29,8 @@ function ProcessDtTenon.Classify( Proc)
if not AuxId then return false end
AuxId = AuxId + Proc.Id
local vtExtr = EgtCurveExtrusion( AuxId, GDB_RT.GLOB)
-- verifico se il tenone è lavorabile solo da sotto
local bDown = ( vtExtr:getZ() < - 0.26)
-- verifico se il tenone è lavorabile solo da sotto (-20 deg)
local bDown = ( vtExtr:getZ() < -0.35)
return true, bDown
end
@@ -59,8 +59,8 @@ function ProcessDtTenon.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
local dDepth = abs( EgtCurveThickness( AuxId))
local vtExtr = EgtCurveExtrusion( AuxId, GDB_RT.GLOB)
local ptBC = EgtGP( AuxId, GDB_RT.GLOB)
-- verifico che il tenone non sia orientato verso il basso (-15 deg)
if vtExtr:getZ() < - 0.26 then
-- verifico che il tenone non sia orientato verso il basso (-20 deg)
if vtExtr:getZ() < - 0.35 then
local sErr = 'Error on process ' .. tostring( Proc.Id) .. ' DtTenon from bottom impossible'
EgtOutLog( sErr)
return false, sErr