EgtMachKernel 1.6r2 :

- modifiche per gestire fino a 4 assi rotanti contemporaneamente attivi (almeno 2 bloccati)
- correzioni e migliorie varie.
This commit is contained in:
Dario Sassi
2016-05-17 07:00:08 +00:00
parent 31b4099d0f
commit 05a69a650b
20 changed files with 551 additions and 165 deletions
+12 -1
View File
@@ -343,7 +343,18 @@ Disposition::Apply(void)
FixData.nId = nId ;
}
}
// aggiornamento movimento pezzi
// annullo movimento grezzi
int nRawId = m_pMchMgr->GetFirstRawPart() ;
while ( nRawId != GDB_ID_NULL) {
if ( m_pMchMgr->VerifyRawPartPhase( nRawId, m_nPhase)) {
// recupero riferimento del grezzo
Frame3d* pfrRaw = m_pGeomDB->GetGroupFrame( nRawId) ;
// lo trasformo nel riferimento globale
pfrRaw->Reset() ;
}
nRawId = m_pMchMgr->GetNextRawPart( nRawId) ;
}
// aggiornamento movimento grezzi
for ( const auto& vMvrData : m_vMvrData) {
switch ( vMvrData.nType) {
case MoveRawData::COR :