DataBeam :
- correzioni in LapJoint per lavorazione con sega a catena su macchine PF di fessure frontali in verticale - correzioni in LapJoint per lavorazione di L020 che richiede passata con fresa precedente a svuotatura.
This commit is contained in:
@@ -1140,6 +1140,12 @@ local function MakeByMill( Proc, nPhase, nRawId, nPartId, nFacInd, rfFac, dH, dV
|
||||
nSCC = MCH_SCC.ADIR_YP
|
||||
end
|
||||
EgtSetMachiningParam( MCH_MP.SCC, nSCC)
|
||||
-- lato di lavoro e direzione
|
||||
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.LEFT)
|
||||
EgtSetMachiningParam( MCH_MP.INVERT, true)
|
||||
-- tipo di attacco e uscita
|
||||
EgtSetMachiningParam( MCH_MP.LEADINTYPE, MCH_MILL_LI.LINEAR)
|
||||
EgtSetMachiningParam( MCH_MP.LEADOUTTYPE, MCH_MILL_LO.LINEAR)
|
||||
-- imposto accorciamento iniziale/finale per estremi aperti/chiusi
|
||||
if bSpecialApp then
|
||||
-- applico gli allungamenti o accorciamenti considerando che la lavorazione è invertita
|
||||
@@ -2990,6 +2996,13 @@ local function MakeByChainOrSaw( Proc, nPhase, nRawId, nPartId, nFacInd,
|
||||
end
|
||||
-- imposto angolo 3° asse rot
|
||||
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, GetChainSawBlockedAxis( 1))
|
||||
if BD.C_SIMM then
|
||||
if vtN:getY() > 0 then
|
||||
EgtSetMachiningParam( MCH_MP.INITANGS, 'C=180')
|
||||
else
|
||||
EgtSetMachiningParam( MCH_MP.INITANGS, 'C=-180')
|
||||
end
|
||||
end
|
||||
-- imposto offset radiale
|
||||
local dOffs = ( i - 1) * dStep
|
||||
EgtSetMachiningParam( MCH_MP.OFFSR, dOffs)
|
||||
@@ -3010,6 +3023,7 @@ local function MakeByChainOrSaw( Proc, nPhase, nRawId, nPartId, nFacInd,
|
||||
EgtSetOperationMode( nMchFId, false)
|
||||
return false, sErr
|
||||
end
|
||||
-- impostazione alternativa angolo 3° asse rot
|
||||
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, GetChainSawBlockedAxis( 2))
|
||||
if BD.C_SIMM then
|
||||
if vtN:getY() > 0 then
|
||||
@@ -3070,6 +3084,13 @@ local function MakeByChainOrSaw( Proc, nPhase, nRawId, nPartId, nFacInd,
|
||||
end
|
||||
-- imposto angolo 3° asse rot
|
||||
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, GetChainSawBlockedAxis( 1))
|
||||
if BD.C_SIMM then
|
||||
if vtN:getY() > 0 then
|
||||
EgtSetMachiningParam( MCH_MP.INITANGS, 'C=180')
|
||||
else
|
||||
EgtSetMachiningParam( MCH_MP.INITANGS, 'C=-180')
|
||||
end
|
||||
end
|
||||
-- imposto offset radiale
|
||||
local dOffs = ( i - 1) * dStep
|
||||
EgtSetMachiningParam( MCH_MP.OFFSR, dOffs)
|
||||
@@ -3092,6 +3113,7 @@ local function MakeByChainOrSaw( Proc, nPhase, nRawId, nPartId, nFacInd,
|
||||
EgtSetOperationMode( nMchFId, false)
|
||||
return false, sErr
|
||||
end
|
||||
-- impostazione alternativa angolo 3° asse rot
|
||||
EgtSetMachiningParam( MCH_MP.BLOCKEDAXIS, GetChainSawBlockedAxis( 2))
|
||||
if BD.C_SIMM then
|
||||
local vtN = EgtSurfTmFacetNormVersor( Proc.Id, nLundIdFace, GDB_ID.ROOT)
|
||||
|
||||
Reference in New Issue
Block a user