EgtMachKerenl :
- in sgrossatura superfici piccola modifica su ENABLE_DEBUG.
This commit is contained in:
+5
-5
@@ -86,7 +86,7 @@ using namespace std ;
|
||||
static string KEY_SURF_POCK = "SurfPock_" ;
|
||||
static string KEY_SURF_LIMIT = "SurfLimit_" ;
|
||||
|
||||
static const bool ENABLE_DEBUG = false ;
|
||||
#define ENABLE_DEBUG 0
|
||||
static string _DEBUG_GROUP_TERRACE = "Terraces" ;
|
||||
static string _DEBUG_GROUP_FEED = "Feeds" ;
|
||||
|
||||
@@ -1763,9 +1763,9 @@ SurfRoughing::AddPocket( const INTINTVECTOR& vPocket, const Vector3d& vtTool, co
|
||||
if ( ! bIsSubStep)
|
||||
++ nBasicStep ;
|
||||
|
||||
if ( ENABLE_DEBUG) {
|
||||
#if ENABLE_DEBUG
|
||||
DrawLoopsSurf( pSfrPock, true, Color( 1., 1., 1., .1), bIsSubStep, nCurrStep) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
ICRVCOMPOPOVECTOR vpCrvs ; // percorso di svuotatura
|
||||
// se si tratta di uno step base, allora lavoro l'intera superficie
|
||||
@@ -1789,9 +1789,9 @@ SurfRoughing::AddPocket( const INTINTVECTOR& vPocket, const Vector3d& vtTool, co
|
||||
// ciclo sui percorsi
|
||||
for ( int k = 0 ; k < int( vpCrvs.size()) ; ++ k) {
|
||||
|
||||
if ( ENABLE_DEBUG) {
|
||||
#if ENABLE_DEBUG
|
||||
DrawFeed( vpCrvs[k], nCurrStep) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
// controllo se il percorso ha un ingresso presso un lato aperto
|
||||
bool bOutStart = ( vpCrvs[k]->GetCurveCount() > 0 && vpCrvs[k]->GetCurve( 0)->GetTempProp( 0) == 2) ;
|
||||
|
||||
Reference in New Issue
Block a user