EgtMachKernel :

- modificata Operation::GetRawGlobBox per tener conto dell'ingombro utensile.
This commit is contained in:
Dario Sassi
2017-01-18 07:37:53 +00:00
parent e184799057
commit 6e63197ac4
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -970,7 +970,7 @@ GenMachining::ProcessPath( int nPathId, int nPvId, int nClId)
// recupero il box del grezzo in globale
BBox3d b3Raw ;
if ( ! GetRawGlobBox( m_nPhase, nPathId, b3Raw) || b3Raw.IsEmpty()) {
if ( ! GetRawGlobBox( m_nPhase, nPathId, 0.5 * m_TParams.m_dDiam, b3Raw) || b3Raw.IsEmpty()) {
LOG_INFO( GetEMkLogger(), "Error in GenMachining : Empty RawBox") ;
return false ;
}