From 2cc5c505e3e585e844526aaedd9b47e4dec4e9b2 Mon Sep 17 00:00:00 2001 From: LorenzoM Date: Tue, 3 Aug 2021 16:17:31 +0200 Subject: [PATCH] Modifiche asportazioni volumei avanzate --- VolZmapVolume.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) ; }