EgtExecutor 1.6n11 :

- corretto movimento pezzi nesting con baffi.
This commit is contained in:
Dario Sassi
2016-03-04 08:31:03 +00:00
parent f98e8695f4
commit ed61fa9948
2 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -821,7 +821,9 @@ ExeMovePartCluster( const INTVECTOR& vIds, bool bReducedCut, Vector3d& vtMove)
if ( ! MyMovePartCluster( pGeomDB, vTrueIds, b3Cluster, true, vtM))
return false ;
// se posizione valida
if ( MyVerifyPartCluster( pGeomDB, vTrueIds, b3Cluster, false)) {
BBox3d b3CluMoved = b3Cluster ;
b3CluMoved.Translate( vtM) ;
if ( MyVerifyPartCluster( pGeomDB, vTrueIds, b3CluMoved, false)) {
vtMove = vtM ;
return true ;
}