DataBeam :

- in DoubleCut convesso propago correttamente CutId e TaskId
- in LapJoint, imposto massima elevazione alavorazione con sega a catena (per evitare problemi con sfridi di testa).
This commit is contained in:
Dario Sassi
2020-02-18 19:56:18 +00:00
parent a99795da69
commit 3a226603c7
2 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
-- ProcessLapJoint.lua by Egaltech s.r.l. 2020/02/13
-- ProcessLapJoint.lua by Egaltech s.r.l. 2020/02/18
-- Gestione calcolo mezzo-legno per Travi
-- 2019/10/08 Agg. gestione OpenPocket.
@@ -764,6 +764,9 @@ local function MakeByChainOrSaw( Proc, nPhase, nRawId, nPartId, nFacInd, rfFac,
EgtOutLog( sWarn .. ' (process ' .. tostring( Proc.Id) .. ')')
EgtSetMachiningParam( MCH_MP.DEPTH_STR, 'TH '..EgtNumToString( dDepth, 1))
end
-- imposto elevazione
local sNotes = 'MaxElev=' .. EgtNumToString( dElev, 2) .. ';'
EgtSetMachiningParam( MCH_MP.USERNOTES, sNotes)
-- eseguo
if not EgtApplyMachining( true, false) then
local _, sErr = EgtGetLastMachMgrError()