diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index 373ae00..2892464 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ diff --git a/Pocketing.cpp b/Pocketing.cpp index c794e12..7409a2e 100644 --- a/Pocketing.cpp +++ b/Pocketing.cpp @@ -1713,7 +1713,7 @@ Pocketing::CalcRegionElevation( const ICurveComposite* pCompo, const Vector3d& v // calcolo la classificazione della curva rispetto al contorno IntersCurveCurve intCC( *pLine, *pCompoL) ; CRVCVECTOR ccClass ; - if ( intCC.GetCurveClassification( 0, ccClass)) { + if ( intCC.GetCurveClassification( 0, EPS_SMALL, ccClass)) { // determino gli intervalli di curva interni Intervals inOk ; for ( auto& ccOne : ccClass) { @@ -2291,7 +2291,7 @@ Pocketing::CalcZigZag( const ICurveComposite* pOffs, // calcolo la classificazione della curva rispetto al contorno esterno offsettato IntersCurveCurve intCC( *pLine, *pOffs) ; CRVCVECTOR ccClass ; - if ( ! intCC.GetCurveClassification( 0, ccClass)) { + if ( ! intCC.GetCurveClassification( 0, EPS_SMALL, ccClass)) { m_pMchMgr->SetLastError( 2413, "Error in Pocketing : Toolpath not computable") ; return false ; } @@ -2651,7 +2651,7 @@ Pocketing::AddOneWay( const ICurveComposite* pCompo, const Vector3d& vtTool, con // calcolo la classificazione della curva rispetto al contorno esterno offsettato IntersCurveCurve intCC( *pLine, *pOffs2) ; CRVCVECTOR ccClass ; - if ( ! intCC.GetCurveClassification( 0, ccClass)) { + if ( ! intCC.GetCurveClassification( 0, EPS_SMALL, ccClass)) { m_pMchMgr->SetLastError( 2413, "Error in Pocketing : Toolpath not computable") ; return false ; } @@ -3313,7 +3313,7 @@ Pocketing::CalcBoundedLink( const Point3d& ptStart, const Point3d& ptEnd, const // classifico la curva di collegamento rispetto a quella di contenimento CRVCVECTOR ccClass ; IntersCurveCurve intCC( *LineLoc, *CrvOutLoc) ; - intCC.GetCurveClassification( 0, ccClass) ; + intCC.GetCurveClassification( 0, EPS_SMALL, ccClass) ; // se nessuno o un solo tratto e interno, la retta è il collegamento if ( ccClass.empty() || ( ccClass.size() == 1 && ccClass[0].nClass == CRVC_IN)) { pCrvLink->AddCurve( Release( pLine)) ; diff --git a/SawFinishing.cpp b/SawFinishing.cpp index 70ab75f..67c0a58 100644 --- a/SawFinishing.cpp +++ b/SawFinishing.cpp @@ -1767,7 +1767,7 @@ SawFinishing::TrimSection( ICurve* pCrv) // calcolo la classificazione della curva rispetto alla regione CRVCVECTOR ccClass ; - if ( ! pSfr->GetCurveClassification( *pCrv, ccClass)) + if ( ! pSfr->GetCurveClassification( *pCrv, EPS_SMALL, ccClass)) return false ; // determino l'intervallo di curva da conservare diff --git a/SawRoughing.cpp b/SawRoughing.cpp index f96a0ed..1b6aa2e 100644 --- a/SawRoughing.cpp +++ b/SawRoughing.cpp @@ -1452,7 +1452,7 @@ SawRoughing::TrimSection( ICurve* pCrv) // calcolo la classificazione della curva rispetto alla regione CRVCVECTOR ccClass ; - if ( ! pSfr->GetCurveClassification( *pCrv, ccClass)) + if ( ! pSfr->GetCurveClassification( *pCrv, EPS_SMALL, ccClass)) return false ; // determino l'intervallo di curva da conservare diff --git a/SurfFinishing.cpp b/SurfFinishing.cpp index b187f9f..58c287f 100644 --- a/SurfFinishing.cpp +++ b/SurfFinishing.cpp @@ -1492,7 +1492,7 @@ SurfFinishing::CalcZigZag( const ICurveComposite* pOffs, // calcolo la classificazione della curva rispetto al contorno esterno offsettato IntersCurveCurve intCC( *pLine, *pOffs) ; CRVCVECTOR ccClass ; - if ( ! intCC.GetCurveClassification( 0, ccClass)) { + if ( ! intCC.GetCurveClassification( 0, EPS_SMALL, ccClass)) { m_pMchMgr->SetLastError( 3110, "Error in SurfFinishing : Toolpath not computable") ; return false ; }