Feature/BigSection:
-modifiche e correzione bug che impedivano il funzionamento corretto di headcut e split
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user