- in BeamExec.ProcessAlternatives correzione

This commit is contained in:
luca.mazzoleni
2026-06-30 15:56:40 +02:00
parent 60166eb995
commit 60d8387485
+2 -2
View File
@@ -2433,7 +2433,7 @@ function BeamExec.ProcessAlternatives( PARTS)
if HeadcutInfo then
-- offset e vettori vanno adeguati alla rotazione attuale (inversione è già corretta)
BeamLib.RotateTableFromIndexInPlace( HeadcutInfo.OffsetX, nRotation)
HeadcutInfo.vtN:rotate( X_AX(), nRotation * 90)
HeadcutInfo.vtN:rotate( X_AX(), ( nRotation - 1) * 90)
PARTS[nPart].HeadcutInfo[sBitIndexCombinationWithInvert] = {
OffsetX = HeadcutInfo.OffsetX,
vtN = HeadcutInfo.vtN
@@ -2442,7 +2442,7 @@ function BeamExec.ProcessAlternatives( PARTS)
if TailcutInfo then
-- offset e vettori vanno adeguati alla rotazione attuale (inversione è già corretta)
BeamLib.RotateTableFromIndexInPlace( TailcutInfo.OffsetX, nRotation)
TailcutInfo.vtN:rotate( X_AX(), nRotation * 90)
TailcutInfo.vtN:rotate( X_AX(), ( nRotation - 1) * 90)
PARTS[nPart].TailcutInfo[sBitIndexCombinationWithInvert] = {
OffsetX = TailcutInfo.OffsetX,
vtN = TailcutInfo.vtN