- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user