EgtMachKernel :

- merge con master.
This commit is contained in:
Riccardo Elitropi
2023-06-05 08:36:59 +02:00
parent e4983d5276
commit 3dcba13efc
+1 -2
View File
@@ -7812,8 +7812,7 @@ Pocketing::ComputeTrapezoidSpiralLeadInLeadOut( ICurveComposite* pCompo, const V
double dDistRef = dDist ;
double dDistMin ;
Vector3d vtNormMin ;
//if ( CalcDistanceFromRawSurface( m_nPhase, ptP, vtNorm, dDistMin, vtNormMin)) {
if ( GetSignedDistFromStmRaw( m_nPhase, ptP, vtDir, dDistMin, vtNorm)) {
if ( abs( vtTool * vtNorm) < 0.5 && GetSignedDistFromStmRaw( m_nPhase, ptP, vtDir, dDistMin, vtNorm)) {
if ( abs( dDistMin) < abs( dDist) && abs( dDistMin) > EPS_SMALL) {
dDistRef = dDistMin ;
dCorr = dDist / dDistMin ;