diff --git a/EXE_NstPartNesting.cpp b/EXE_NstPartNesting.cpp index aa63f90..99bd514 100644 --- a/EXE_NstPartNesting.cpp +++ b/EXE_NstPartNesting.cpp @@ -1409,7 +1409,7 @@ MyMovePartCluster( IGeomDB* pGeomDB, const INTVECTOR& vTrueIds, BBox3d b3Cluster } // Se movimento risultante nullo, non faccio alcunché - vtMoveXY = vtDir * dLen ; + vtMoveXY = vtDir * ( dLen - EPS_SMALL) ; if ( vtMoveXY.IsSmall()) return true ; @@ -1750,7 +1750,7 @@ ExeAlignPartClusterOnCollision( const INTVECTOR& vIds, bool bReducedCut, bool& b Point3d ptCen = s_scInfo.ptP1 ; if ( ! ExeRotatePartCluster( vIds, bReducedCut, ptCen, dRotAngDeg)) return false ; - bMoved = ( fabs( dRotAngDeg) > EPS_ANG_SMALL) ; + bMoved = ( fabs( dRotAngDeg) > 100.0 * EPS_ANG_ZERO) ; return true ; }