EgtExecutor :
- piccola miglioria per snap durante nesting con tagli inclinati.
This commit is contained in:
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user