DataBeam :
- in LapJoint con 1 sola faccia migliorato riconoscimento di testa e di coda.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user