EgtExecutor :

- piccola miglioria per snap durante nesting con tagli inclinati.
This commit is contained in:
Dario Sassi
2016-03-14 18:15:06 +00:00
parent 4dfc24345f
commit eaa7d55d57
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -1409,6 +1409,7 @@ ExeMoveToSnapPointOnCollision( const INTVECTOR& vIds, bool bReducedCut, double d
INTVECTOR vCuts ;
if ( ! GetFlatPartCutRegions( pGeomDB, nPartId, bReducedCut, vCuts))
return false ;
GetFlatPartDownCutRegions( pGeomDB, nPartId, bReducedCut, vCuts) ;
// cerco il taglio che si sovrappone a quello del mobile
BBox3d b3CutM ;
pGeomDB->GetGlobalBBox( nCutM, b3CutM) ;
@@ -1442,6 +1443,7 @@ ExeMoveToSnapPointOnCollision( const INTVECTOR& vIds, bool bReducedCut, double d
INTVECTOR vCuts ;
if ( ! GetFlatPartCutRegions( pGeomDB, nPartId, bReducedCut, vCuts))
return false ;
GetFlatPartDownCutRegions( pGeomDB, nPartId, bReducedCut, vCuts) ;
// cerco il taglio che si sovrappone a quello del fisso
BBox3d b3CutF ;
pGeomDB->GetGlobalBBox( nCutF, b3CutF) ;