Improvement/LongCutBetterFeedDirection:

- fix inversione allungamenti / accorciamenti
This commit is contained in:
luca.mazzoleni
2023-02-23 19:32:29 +01:00
parent 90b1215f31
commit e303f8205d
2 changed files with 4 additions and 10 deletions
+2 -5
View File
@@ -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)