- Aggiunto FLAG = 10 per QUICK_VERIFY (ancora da fare)

- Gestione inversione pezzo solo se durante la fase di QUICK_VERIFY
- Gestione rotazioni ADVANCED, verrà utilizzata solo durante QUICK_VERIFY. In tutti gli altri casi è standard (come ha sempre funzionato) senza calcolo prerotazioni.
This commit is contained in:
andrea.villa
2025-07-08 18:03:04 +02:00
parent 702d4617a0
commit 8211fbc4b0
4 changed files with 157 additions and 127 deletions
+15
View File
@@ -182,6 +182,21 @@ function BeamLib.ConvertToClosedCurve( Proc, AuxId)
return true, bCurveModified
end
-------------------------------------------------------------------------------------------------------------
--- funzione che inverte il grezzo testa-coda
function BeamLib.InvertRawPart( Part, nNumberOfRotations)
-- se non si deve ruotare, si esce subito
if nNumberOfRotations == 0 then
return
end
-- si invertono le travi della fase corrente
local nRId = Part.idRaw
while nRId do
EgtRotateRawPart( nRId, Z_AX(), nNumberOfRotations * 90)
nRId = EgtGetNextRawPart( nRId)
end
end
-------------------------------------------------------------------------------------------------------------
--- funzione che ruota il grezzo
function BeamLib.RotateRawPart( Part, nNumberOfRotations)