EgtGeomKernel :

- aggiunta VolZmap::ResetTool
- in VolZmap aggiunto controllo utensile definito prima di effettuare un movimento di lavorazione.
This commit is contained in:
Dario Sassi
2019-05-20 06:47:14 +00:00
parent dabbd3eae5
commit b80b251d24
3 changed files with 11 additions and 0 deletions
+3
View File
@@ -489,6 +489,9 @@ VolZmap::MillingStep( const Point3d& ptPs, const Vector3d& vtDs, const Point3d&
bool
VolZmap::MillingStep( const Point3d& ptPs, const Vector3d& vtDs, const Vector3d& vtAs, const Point3d& ptPe, const Vector3d& vtDe, const Vector3d& vtAe)
{
// Se non è definito l'utensile, non devo fare alcunchè
if ( m_Tool.GetType() == Tool::UNDEF)
return true ;
// Controllo definizione vettori direzione
if ( vtDs.IsSmall() || vtDe.IsSmall())
return false ;