Merge branch 'master' of https://gitlab.steamware.net/egalware-cadcam/libreriebase/EgtGeomKernel
This commit is contained in:
+1
-4
@@ -6236,9 +6236,6 @@ AddEpicycles( const PocketParams& PockParam, ICurveComposite* pCompo, ICurveComp
|
||||
if ( pCompo == nullptr || ! pCompo->IsValid())
|
||||
return false ;
|
||||
|
||||
if ( PockParam.bInvert)
|
||||
pCompo->Invert() ; // oriento la curva in senso antiorario
|
||||
|
||||
// calcolo l'Offset definito dal valore dell'raggio dell'epiciclo
|
||||
OffsetCurve OffsCrv ;
|
||||
if ( ! OffsCrv.Make( pCompo, PockParam.dEpicyclesRad, ICurve::OFF_FILLET) || OffsCrv.GetCurveCount() > 1)
|
||||
@@ -6544,7 +6541,7 @@ CalcSpiral( const ISurfFlatRegion* pSfrPock, const ISurfFlatRegion* pSfrOrig, co
|
||||
}
|
||||
// se non ho Chunks e devo usare un Offset più piccolo...
|
||||
else if ( ! bSmallRad) {
|
||||
if ( PockParams.dRad < EPS_SMALL)
|
||||
if ( PockParams.dRad < EPS_SMALL || PockParams.bPolishing)
|
||||
break ;
|
||||
dOffs = dOffsPrec + ( nIter == 0 ? PockParams.dRad + PockParams.dRadialOffset : PockParams.dRad) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user