Per ruotare il pezzo non lo si toglie più dalla barra, ma lo si gira in "Draw"

This commit is contained in:
andrea.villa
2026-04-14 09:05:46 +02:00
parent 922a7ac846
commit 06d9529b7b
2 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -1448,7 +1448,7 @@ function MachiningLib.AddOperations( MACHININGS, Part, sRotation)
local idDisp = EgtGetPhaseDisposition( nPhase)
-- posizione iniziale considerando eventuiali prerotazioni
local nRealInitialPosition = Part.nInitialPosition - ( BEAM.PREROTATE90 or 0)
local nRealInitialPosition = Part.nInitialPosition
if sRotation == 'DOWN' then
local nRotation = EgtIf( nRealInitialPosition + 2 > 4, nRealInitialPosition + 2 - 4, nRealInitialPosition + 2) - 1
BeamLib.RotateRawPart( Part, nRotation)