EgtMachKernel :

- piccola correzione svuotature ottimizzate.
This commit is contained in:
SaraP
2022-05-25 09:48:01 +02:00
parent a1a4c85024
commit a0f655a767
+1 -1
View File
@@ -4540,7 +4540,7 @@ Pocketing::ComputeTrapezoidSpiralLeadInLeadOut( ICurveComposite* pCompo, const V
double dDistMin ;
Vector3d vtNormMin ;
if ( CalcDistanceFromRawSurface( m_nPhase, ptP, vtNorm, dDistMin, vtNormMin)) {
if ( abs( dDistMin) < abs( dDist)) {
if ( abs( dDistMin) < abs( dDist) && abs( dDistMin) > EPS_SMALL) {
dDistRef = dDistMin ;
dCorr = dDist / dDistMin ;
}