EgtExecutor :

- miglioria nesting pezzi piani.
This commit is contained in:
Dario Sassi
2017-04-24 08:33:02 +00:00
parent 7bf984db01
commit a189fa90d7
+2 -2
View File
@@ -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 ;
}