EgtMachKernel :
- aggiustamenti per PtrOwner nuova funzione Set.
This commit is contained in:
+4
-4
@@ -3885,7 +3885,7 @@ Pocketing::CalcSpiral( const ICurveComposite* pCompo, int nReg, bool bSplitArcs,
|
||||
// recupero la prossima curva di offset
|
||||
PtrOwner<ICurve> pNextOffs ;
|
||||
if ( ! vCrvStack.empty()) {
|
||||
pNextOffs.Set( Release( vCrvStack.back())) ;
|
||||
pNextOffs.Set( vCrvStack.back()) ;
|
||||
vCrvStack.pop_back() ;
|
||||
dCurrRad = vRadStack.back() ;
|
||||
vRadStack.pop_back() ;
|
||||
@@ -3902,7 +3902,7 @@ Pocketing::CalcSpiral( const ICurveComposite* pCompo, int nReg, bool bSplitArcs,
|
||||
if ( bNextOk) {
|
||||
// sistemo per prossimo step
|
||||
dCurrRad = dRad ;
|
||||
pOffs.Set( Release( pNextOffs)) ;
|
||||
pOffs.Set( pNextOffs) ;
|
||||
// nuovo valore pari allo step
|
||||
dOffs = GetSideStep() ;
|
||||
}
|
||||
@@ -3929,7 +3929,7 @@ Pocketing::CalcSpiral( const ICurveComposite* pCompo, int nReg, bool bSplitArcs,
|
||||
// calcolo il collegamento (garantendo che non esca dalla svuotatura)
|
||||
PtrOwner<ICurveComposite> pCrvLink( CreateCurveComposite()) ;
|
||||
if ( CalcBoundedLink( ptStart, ptEnd, vOffs[0], pCrvLink))
|
||||
vLinks[i].Set( Release( pCrvLink)) ;
|
||||
vLinks[i].Set( pCrvLink) ;
|
||||
else {
|
||||
m_pMchMgr->SetLastError( 2413, "Error in Pocketing : Toolpath not computable") ;
|
||||
return false ;
|
||||
@@ -4851,7 +4851,7 @@ Pocketing::ComputePolishingPath( ICurveComposite* pMCrv, ICurveComposite* pRCrv,
|
||||
// calcolo il collegamento con biarchi (garantendo che non esca dalla svuotatura)
|
||||
PtrOwner<ICurveComposite> pCrvLink( CreateCurveComposite()) ;
|
||||
if ( CalcBoundedLinkWithBiArcs( ptStart, vtStart, ptEnd, vtEnd, pCrvBound, pCrvLink)) {
|
||||
vLinks[i].Set( Release( pCrvLink)) ;
|
||||
vLinks[i].Set( pCrvLink) ;
|
||||
}
|
||||
else {
|
||||
m_pMchMgr->SetLastError( 2413, "Error in Pocketing : Toolpath not computable") ;
|
||||
|
||||
Reference in New Issue
Block a user