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