DataBeam :

- aggiornamenti e correzioni varie.
This commit is contained in:
Dario Sassi
2020-03-31 15:03:09 +00:00
parent 3a7388ffe6
commit c3be703a20
6 changed files with 912 additions and 320 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
-- ProcessDrill.lua by Egaltech s.r.l. 2020/03/06
-- ProcessDrill.lua by Egaltech s.r.l. 2020/03/31
-- Gestione calcolo forature per Travi
-- Tabella per definizione modulo
@@ -90,7 +90,8 @@ function ProcessDrill.Split( Proc, b3Raw)
dMaxMat = 0
end
-- restituisco se va fatto in doppio (solo fori orizzontali)
return ( bOpen and dLen > dMaxMat + 10 * GEO.EPS_SMALL and abs( vtExtr:getZ()) < abs( BD.DRILL_VZ_MIN) and
local DRILL_EXTRA = 5
return ( bOpen and dLen + DRILL_EXTRA > dMaxMat + 10 * GEO.EPS_SMALL and abs( vtExtr:getZ()) < abs( BD.DRILL_VZ_MIN) and
( abs( vtExtr:getY()) * b3Raw:getDimZ() > abs( vtExtr:getZ()) * b3Raw:getDimY() or Proc.Fce == 5 or Proc.Fce == 6))
end