DataBeam :

- in LapJoint con 1 sola faccia migliorato riconoscimento di testa e di coda.
This commit is contained in:
Dario Sassi
2020-02-13 15:58:40 +00:00
parent 3f19150681
commit 8e55da5a44
+3 -3
View File
@@ -1,4 +1,4 @@
-- ProcessLapJoint.lua by Egaltech s.r.l. 2020/02/12
-- ProcessLapJoint.lua by Egaltech s.r.l. 2020/02/13
-- Gestione calcolo mezzo-legno per Travi
-- 2019/10/08 Agg. gestione OpenPocket.
@@ -142,7 +142,7 @@ function ProcessLapJoint.IsHeadFeature( Proc, b3Raw, dCurrOvmH)
-- se una sola faccia
if Proc.Fct == 1 then
local _, vtN0 = EgtSurfTmFacetCenter( Proc.Id, 0, GDB_ID.ROOT)
if vtN0:getX() > 0 then
if vtN0:getX() > 0.1 then
return true
end
end
@@ -185,7 +185,7 @@ function ProcessLapJoint.IsTailFeature( Proc, b3Raw)
-- se una sola faccia
if Proc.Fct == 1 then
local _, vtN0 = EgtSurfTmFacetCenter( Proc.Id, 0, GDB_ID.ROOT)
if vtN0:getX() < 0 then
if vtN0:getX() < -0.1 then
return true
end
end