Improvement/LongCutBetterFeedDirection:
- fix inversione allungamenti / accorciamenti
This commit is contained in:
@@ -748,6 +748,7 @@ function ProcessLong2Cut.Make( Proc, nPhase, nRawId, nPartId, bForcedBladeMaster
|
||||
if bIsCurrentBladeCW then
|
||||
nWorkSide = MCH_MILL_WS.LEFT
|
||||
bInvert = true
|
||||
dSal, dEal = dEal, dSal
|
||||
else
|
||||
nWorkSide = MCH_MILL_WS.RIGHT
|
||||
bInvert = false
|
||||
@@ -759,14 +760,10 @@ function ProcessLong2Cut.Make( Proc, nPhase, nRawId, nPartId, bForcedBladeMaster
|
||||
else
|
||||
nWorkSide = MCH_MILL_WS.RIGHT
|
||||
bInvert = true
|
||||
dSal, dEal = dEal, dSal
|
||||
end
|
||||
end
|
||||
|
||||
-- imposto eventuale inversione di estensioni e accorciamenti
|
||||
if bIsCurrentMachiningInverted ~= bInvert then
|
||||
dSal, dEal = dEal, dSal
|
||||
end
|
||||
|
||||
-- setto la lavorazione con i valori calcolati
|
||||
EgtSetMachiningParam( MCH_MP.INVERT, bInvert)
|
||||
EgtSetMachiningParam( MCH_MP.WORKSIDE, nWorkSide)
|
||||
|
||||
Reference in New Issue
Block a user