EgtMachKernel :

- in fresatura e taglio di lama portate info di Start, End, Extr e Elev anche nei gruppi P1, P2, ... di Preview
- in simulazione migliorato nascondere della traccia utensile.
This commit is contained in:
Dario Sassi
2026-04-06 09:59:00 +02:00
parent 79e1e9fefd
commit 624bc499a2
4 changed files with 40 additions and 2 deletions
+4 -2
View File
@@ -97,6 +97,7 @@ SimulatorSP::SimulatorSP( void)
m_bEnableVm = false ;
m_dSafeDist = SAFEDIST_STD ;
m_bEnableTrace = false ;
m_nTraceGroup = GDB_ID_NULL ;
m_nCurrTrace = GDB_ID_NULL ;
m_nAxesMask = 0 ;
m_bEnabAxes = true ;
@@ -1685,10 +1686,10 @@ SimulatorSP::EnableToolTipTrace( bool bEnable)
;
}
else {
int nTraceCrvId = m_nCurrTrace ;
int nTraceCrvId = m_pGeomDB->GetFirstInGroup( m_nTraceGroup) ;
while ( nTraceCrvId != GDB_ID_NULL) {
m_pGeomDB->SetStatus( nTraceCrvId, GDB_ST_OFF) ;
nTraceCrvId = m_pGeomDB->GetPrev( nTraceCrvId) ;
nTraceCrvId = m_pGeomDB->GetNext( nTraceCrvId) ;
}
m_nCurrTrace = GDB_ID_NULL ;
}
@@ -1708,6 +1709,7 @@ SimulatorSP::TraceToolTipMove( int nMoveType)
int nTraceGrpId ;
if ( ! m_pMachine->LuaGetGlobVar( GLOB_VAR + GVAR_TOOLTRACE, nTraceGrpId))
return false ;
m_nTraceGroup = nTraceGrpId ;
// recupero posizione utensile corrente
int nExitId = m_pMachine->GetExitId( m_sHead, m_nExit) ;
Frame3d frExit ;