Merge tag 'ParametrizedName' into develop
Parametrizzato nome app x script compilazione comune a tutit i progetti beam-wall
This commit is contained in:
+10
-3
@@ -1,4 +1,4 @@
|
||||
-- BeamLib.lua by Egaltech s.r.l. 2022/01/11
|
||||
-- BeamLib.lua by Egaltech s.r.l. 2022/04/05
|
||||
-- Libreria globale per Travi
|
||||
-- 2020/07/28 Corretto calcolo attacchi e uscite di lame per non uscire dalla faccia sotto.
|
||||
-- 2020/08/18 Aggiunto a GetNearestParalOpposite e GetNearestOrthoOpposite parametro opzionale vtNorm.
|
||||
@@ -9,6 +9,7 @@
|
||||
-- 2021/07/15 Aggiunta GetFaceElevationFromPointDir.
|
||||
-- 2021/09/12 Aggiustamenti in GetNearestParalOpposite e GetNearestOrthoOpposite.
|
||||
-- 2022/01/11 In GetNearest*Opposite ridotto vantaggio XY rispetto a Z da 1 -> 0.9 a 1 -> 0.99.
|
||||
-- 2022/04/05 Modifiche a GetNzLimDownUp per FAST.
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
local BeamLib = {}
|
||||
@@ -403,7 +404,7 @@ function BeamLib.GetBoxFaceNorm( b3Box, ptP, vtV)
|
||||
local dNzDotV = vtNz * vtV
|
||||
if dNxDotV > dNyDotV and dNxDotV > dNzDotV then
|
||||
return vtNx
|
||||
elseif dNyDotV > dNzDotV and dNyDotV > dNxDotV then
|
||||
elseif dNyDotV > dNzDotV then
|
||||
return vtNy
|
||||
else
|
||||
return vtNz
|
||||
@@ -691,7 +692,13 @@ function BeamLib.GetNzLimDownUp( b3Raw, vtN, vtOrtho)
|
||||
if vtN and ( abs( vtN:getY()) > 0.866) then
|
||||
return -0.708
|
||||
else
|
||||
return EgtIf( b3Raw:getDimZ() < 200, -0.5, -0.258)
|
||||
if b3Raw:getDimZ() < 200 then
|
||||
return -0.5
|
||||
elseif b3Raw:getDimZ() < BD.MIN_DIM_HBEAM then
|
||||
return -0.258
|
||||
else
|
||||
return -0.174
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
-- ProcessDrill.lua by Egaltech s.r.l. 2022/03/26
|
||||
-- ProcessDrill.lua by Egaltech s.r.l. 2022/03/29
|
||||
-- Gestione calcolo forature per Travi
|
||||
-- 2021/04/14 DS Corretta gestione Invert con testa da sotto. Migliorato calcolo ingombro portautensile.
|
||||
-- 2021/05/03 DS Su macchina con testa da sotto aggiunta possibilità di fare fori verticali metà sopra e l'altra sotto.
|
||||
-- 2021/09/19 DS Si premia il più possibile ricerca punta con adeguato affondamento.
|
||||
-- 2021/10/29 DS MaxElev anche su fori con svuotatura.
|
||||
-- 2022/03/26 DS Correzioni per fori testa-fianco nel piano.
|
||||
-- 2022/03/29 DS Corretta assegnazione fori molto inclinati fianco/coda a coda.
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
local ProcessDrill = {}
|
||||
@@ -66,7 +67,7 @@ function ProcessDrill.IsTailFeature( Proc, b3Raw)
|
||||
end
|
||||
local vtExtr = EgtCurveExtrusion( AuxId, GDB_RT.GLOB)
|
||||
-- se entrata principale
|
||||
if Proc.Flg == 2 or ( Proc.Flg == 1 and vtExtr:getZ() >= BD.DRILL_VZ_MIN) then
|
||||
if ( Proc.Flg == 2 or ( Proc.Flg == 1 and vtExtr:getZ() >= BD.DRILL_VZ_MIN)) and ( nFcs == 5 or nFcs == 6 or abs( vtExtr:getX()) < BD.DRILL_VX_MAX) then
|
||||
local nFcs = EgtGetInfo( Proc.Id, 'FCS', 'i') or 0
|
||||
return ( ( nFcs == 5 or nFcs == 6) and vtExtr:getX() < -0.5)
|
||||
-- altrimenti entrata opposta
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-- ProcessLapJoint.lua by Egaltech s.r.l. 2022/03/21
|
||||
-- ProcessLapJoint.lua by Egaltech s.r.l. 2022/03/29
|
||||
-- Gestione calcolo mezzo-legno per Travi
|
||||
-- 2019/10/08 Agg. gestione OpenPocket.
|
||||
-- 2021/01/24 Con sega a catena ora sempre impostato asse A.
|
||||
@@ -38,6 +38,7 @@
|
||||
-- 2022/02/14 Introdotto uso svuotature ZigZag ottimizzate.
|
||||
-- 2022/03/18 Corretta lavorazione BH.
|
||||
-- 2022/03/21 Quando si usa lama uso Q10 come massima elevazione.
|
||||
-- 2022/03/29 Aggiunta gestione antischeggia con Q06 anche su 3/4-033-X.
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
local ProcessLapJoint = {}
|
||||
@@ -140,6 +141,8 @@ local function AssignQIdent( Proc)
|
||||
Q_SIDE_ROUGH_TOOL = 'Q01' -- i
|
||||
Q_CONTOUR_SMALL_TOOL = 'Q02' -- i
|
||||
Q_ANTISPLINT_TYPE = 'Q06' -- i
|
||||
elseif ( Proc.Grp == 3 or Proc.Grp == 4) and Proc.Prc == 33 then
|
||||
Q_ANTISPLINT_TYPE = 'Q06' -- i
|
||||
elseif ( Proc.Grp == 3 or Proc.Grp == 4) and Proc.Prc == 34 then
|
||||
Q_CONTOUR_SMALL_TOOL = 'Q01' -- i
|
||||
Q_ANTISPLINT_TYPE = 'Q06' -- i
|
||||
|
||||
Reference in New Issue
Block a user