EgtMachKerenl :

- in sgrossatura superfici piccola modifica su ENABLE_DEBUG.
This commit is contained in:
Dario Sassi
2024-07-08 09:10:22 +02:00
parent bc373d2e33
commit 38635cade4
+5 -5
View File
@@ -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) ;