Feature/BigSection:

-modifiche e correzione bug che impedivano il funzionamento corretto di headcut e split
This commit is contained in:
luca.mazzoleni
2022-10-19 11:43:37 +02:00
parent a9061ecf51
commit af643b1ba5
4 changed files with 157 additions and 155 deletions
+2
View File
@@ -248,8 +248,10 @@ 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'