DataBeam :

- in BeamLib.GetNearestOrthoOpposite premio direzioni destra/sinistra (per risolvere problemi tagli doppi convessi)
- in lavorazione LapJoint migliorie e correzioni su svuotature e pulitura spigoli.
This commit is contained in:
DarioS
2021-07-02 08:58:42 +02:00
parent c356e92b8d
commit 5c42d2a033
3 changed files with 97 additions and 109 deletions
+2 -4
View File
@@ -1,4 +1,4 @@
-- ProcessDoubleCut.lua by Egaltech s.r.l. 2021/02/28
-- ProcessDoubleCut.lua by Egaltech s.r.l. 2021/07/01
-- Gestione calcolo doppi tagli di lama per Travi
-- Tabella per definizione modulo
@@ -266,11 +266,9 @@ function ProcessDoubleCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
local vtOrthOpp = vtN[nBigInd]
local vtNorm = vtN[nSmaInd]
if ( i % 2) ~= 1 then vtOrthOpp, vtNorm = vtNorm, vtOrthOpp end
--if not bOnY then vtOrthOpp[2] = 0 end
local nOrthoOpposite = BL.GetNearestOrthoOpposite( vtOrthOpp, vtNorm)
-- lavoro la faccia
for j = 1, #vCuts[i] do
local bOk, sErr = BL.MakeOneFaceBySaw( vCuts[i][j], 0, sCutting, dSawDiam, nOrthoOpposite, EgtIf( bDownHead, -2, nil), 0, BD.CUT_SIC, 0, 0, 0, nil, b3Raw)
local bOk, sErr = BL.MakeOneFaceBySaw( vCuts[i][j], 0, sCutting, dSawDiam, vtOrthOpp, EgtIf( bDownHead, -2, nil), 0, BD.CUT_SIC, 0, 0, 0, nil, b3Raw)
if not bOk then
return bOk, sErr
end