DataBeam :

- prime modifiche per gestire anche la PF1250.
This commit is contained in:
Dario Sassi
2020-10-23 08:10:19 +00:00
parent 70fee25229
commit e3fa8629f8
4 changed files with 42 additions and 21 deletions
+12 -4
View File
@@ -1,4 +1,4 @@
-- ProcessLapJoint.lua by Egaltech s.r.l. 2020/10/15
-- ProcessLapJoint.lua by Egaltech s.r.l. 2020/10/23
-- Gestione calcolo mezzo-legno per Travi
-- 2019/10/08 Agg. gestione OpenPocket.
@@ -2322,10 +2322,18 @@ local function MakePocket( Proc, nPartId, ptPs, tvtN, nFaceRef, sMchFind, nUseRo
-- imposto uso faccia
EgtSetMachiningParam( MCH_MP.FACEUSE, MCH_MILL_FU.ORTHO_CONT)
-- imposto posizione braccio porta testa
if tvtN[2]:getY() < GEO.EPS_SMALL then
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_YM)
if not BD.C_SIMM then
if tvtN[2]:getY() < GEO.EPS_SMALL then
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_YM)
else
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_YP)
end
else
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_YP)
if abs( tvtN[2]:getZ()) < 0.866 then
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_ZP)
else
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_YP)
end
end
-- se tasca aperta e non lavorata col truciolatore, imposto opportuno attacco
if sMchFind == 'OpenPocket' and nUseRoughTool == 0 then