diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 6fba426..c802d37 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -1807,7 +1807,11 @@ VolZmap::GenTool_ZDrilling( int nGrid, const Point3d& ptS, const Point3d& ptE, c Point3d ptCenS = ptI - vtToolDir * ( ptStart.y - ptCen.y) ; Point3d ptCenE = ptCenS + vtMove ; // Eseguo l'asportazione del materiale - CompBall_Milling( nGrid, ptCenS, ptCenE, dRadius) ; + if ( m_Tool.GetCuttingFlag()) + CompBall_Milling( nGrid, ptCenS, ptCenE, dRadius) ; + else if ( pCurve->GetTempProp( 1) == 1) { + /*SurfSpherePart_Milling( nGrid, ptCenS, ptCenS, vtToolDir, dRadius, double dInfH, double dSupH, bool bOuterCutter)*/ ; + } // aggiorno l'altezza //dHeight = abs( ptStart.y - ptEnd.y) ; }