EgtGeomKernel :
- correzioni a Zmap su taglio spilloni.
This commit is contained in:
+2
-5
@@ -642,11 +642,8 @@ VolZmap::MillingStep( const Point3d& ptPs, const Vector3d& vtDs, const Vector3d&
|
||||
// Direzione utensile costante: pura traslazione
|
||||
if ( AreSameVectorApprox( vtLs[i], vtLe[i])) {
|
||||
|
||||
// Proiezione dei vettori sulle rispettive griglie
|
||||
Vector3d vtLsXY( vtLs[i].x, vtLs[i].y, 0) ;
|
||||
|
||||
// Versore utensile parallelo all'asse Z (coincide con spillone)
|
||||
if ( vtLsXY.SqLen() < EPS_SMALL * EPS_SMALL) {
|
||||
if ( vtLs[i].SqLenXY() < EPS_ZERO * EPS_ZERO) {
|
||||
|
||||
Vector3d vtMove = ptLe[i] - ptLs[i] ;
|
||||
|
||||
@@ -711,7 +708,7 @@ VolZmap::MillingStep( const Point3d& ptPs, const Vector3d& vtDs, const Vector3d&
|
||||
}
|
||||
|
||||
// Versore utensile nel piano XY (perpendicolare allo spillone)
|
||||
else if ( abs( vtLs[i].z) < EPS_SMALL) {
|
||||
else if ( abs( vtLs[i].z) < EPS_ZERO) {
|
||||
|
||||
Vector3d vtMove = ptLe[i] - ptLs[i] ;
|
||||
Vector3d vtMLong = ( vtMove * vtLs[i]) * vtLs[i] ;
|
||||
|
||||
Reference in New Issue
Block a user