EgtMachKernel 2.3j6 :
- adattamenti per modifiche a GeomKernel.
This commit is contained in:
Binary file not shown.
+4
-4
@@ -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)) ;
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user