EgtMachKernel :
- modifiche per visualizzazione utensili con lavorazioni.
This commit is contained in:
@@ -738,6 +738,15 @@ Machine::AdjustExitFrames( int nLay, const MUEXITVECTOR& vMuExit, const Vector3d
|
||||
string sOut = " Exit " + sName + " with frame not adjustable for AuxDir" ;
|
||||
LOG_ERROR( GetEMkLogger(), sOut.c_str()) ;
|
||||
}
|
||||
// se prima uscita, aggiungo vettore ausiliario
|
||||
if ( i == 0) {
|
||||
PtrOwner<IGeoVector3d> pGVec( CreateGeoVector3d()) ;
|
||||
if ( ! IsNull( pGVec) && pGVec->Set( vtAuxL, frFrame.Orig())) {
|
||||
int nAvId = m_pGeomDB->AddGeoObj( GDB_ID_NULL, nLay, Release( pGVec)) ;
|
||||
m_pGeomDB->SetName( nAvId, MCH_AUX_VECT) ;
|
||||
m_pGeomDB->SetStatus( nAvId, GDB_ST_OFF) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return true ;
|
||||
|
||||
Reference in New Issue
Block a user