From ca81e7e5ab5a9796c0ac744ed799728c696e4df4 Mon Sep 17 00:00:00 2001 From: Riccardo Elitropi Date: Fri, 25 Oct 2024 15:15:25 +0200 Subject: [PATCH] EgtMachKernel : - in sgrossature di superfici, aggiunta gestione note utenti per PlaneZ. --- SurfRoughing.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SurfRoughing.cpp b/SurfRoughing.cpp index d7af495..28f02d5 100644 --- a/SurfRoughing.cpp +++ b/SurfRoughing.cpp @@ -250,7 +250,7 @@ SurfRoughing::SurfRoughing( void) m_nPaths = 0 ; m_dMaxHelixRad = INFINITO ; m_dSubStepToler = 2.0 / 2 ; - m_bDetectPlaneZ = true ; + m_bDetectPlaneZ = false ; } //---------------------------------------------------------------------------- @@ -1220,6 +1220,10 @@ SurfRoughing::ProcessPath( int nPathId, int nTempId, int nPvId, int nClId) // assegno il versore fresa Vector3d vtTool = vtExtr ; + // controllo se richiesto PlaneZDetection + bool bPlaneZDetection = false ; + m_bDetectPlaneZ = ( FromString( ExtractInfo( m_Params.m_sUserNotes, "PlaneZ="), bPlaneZDetection) && bPlaneZDetection) ; + // non prevista gestione anteprima di lavorazione // se richiesta lavorazione