EgtExecutor :
- miglioria nesting pezzi piani.
This commit is contained in:
@@ -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 ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user