BugFix/Ticket#871: - in split e headcut corretto accorciamento percorso lama per tagli doppi verticali

This commit is contained in:
luca.mazzoleni
2022-11-02 11:58:55 +01:00
parent 111f11cf92
commit fb6dbebdd4
3 changed files with 8 additions and 4 deletions
-2
View File
@@ -248,10 +248,8 @@ local function FindMachining( MachiningType, sType, Params, bTopHead, bDownHead)
ForEnd = 1
ForStep = -1
end
-- se scelta testa migliorata oppure se non devo usare la testa da sotto parto sempre da testa 1
if ( BEAM and BEAM.BW) or MachineHeadType == ONE_HEAD or MachineHeadType == TWO_EQUAL_HEADS or ( MachineHeadType == TWO_UP_DOWN_HEADS and not bDownHead) then
_, sType = EgtEndsWith( sType, '_H2')
-- se scelta testa migliorata è disattivata e devo usare la testa sotto forzo testa 2
elseif ( not BEAM or not BEAM.BW) and MachineHeadType == TWO_UP_DOWN_HEADS and bDownHead then
if not EgtEndsWith( sType, '_H2') then
sType = sType .. '_H2'