- Correzione posizione pezzi in caso di split con rotazione del pezzo singolo
- Correzione rotazioni del pezzo quando c'è pre-rotazione
This commit is contained in:
@@ -772,14 +772,15 @@ function MachiningLib.AddOperations( vProc, Part, sRotation)
|
||||
local nDispId = EgtGetPhaseDisposition( nPhase)
|
||||
|
||||
if sRotation == 'DOWN' then
|
||||
BeamLib.RotatePart( Part, 2)
|
||||
BeamLib.RotatePart( Part, Part.nInitialPosition - 3)
|
||||
EgtSetInfo( nDispId, 'ROT', -2)
|
||||
EgtSetInfo( nDispId, 'TYPE', 'MID2')
|
||||
elseif sRotation == 'SIDE' then
|
||||
BeamLib.RotatePart( Part, 1)
|
||||
BeamLib.RotatePart( Part, Part.nInitialPosition - 2)
|
||||
EgtSetInfo( nDispId, 'ROT', -1)
|
||||
EgtSetInfo( nDispId, 'TYPE', 'MID2')
|
||||
else
|
||||
BeamLib.RotatePart( Part, Part.nInitialPosition - 1)
|
||||
EgtSetInfo( nDispId, 'TYPE', 'END')
|
||||
end
|
||||
EgtSetInfo( nDispId, 'ORD', MACHININGS[i].Proc.nIndexPartInParts)
|
||||
|
||||
Reference in New Issue
Block a user