From 909748bbee99d35df44dc98dce4180378e7f164b Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 18 May 2017 18:25:07 +0000 Subject: [PATCH] =?UTF-8?q?EgtExecutor=201.8e2=20:=20-=20i=20percorsi=20co?= =?UTF-8?q?n=20curve=20nei=20pezzi=20piani=20per=20nesting=20non=20sono=20?= =?UTF-8?q?pi=C3=B9=20spezzati.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EXE_NstCreateFlatParts.cpp | 30 +++++++++++++++--------------- EgtExecutor.rc | Bin 15088 -> 15088 bytes 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/EXE_NstCreateFlatParts.cpp b/EXE_NstCreateFlatParts.cpp index 8484802..52e35ec 100644 --- a/EXE_NstCreateFlatParts.cpp +++ b/EXE_NstCreateFlatParts.cpp @@ -695,21 +695,21 @@ ExeAdjustFlatPartLayer( int nLayerId) nId = nNextId ; } // se rimasta una sola curva composita la spezzo in due parti - if ( pGeomDB->GetGroupObjs( nLayerId) == 1) { - int nId = pGeomDB->GetFirstInGroup( nLayerId) ; - ICurveComposite* pCompo = GetCurveComposite( pGeomDB->GetGeoObj( nId)) ; - if ( pCompo != nullptr) { - int nTotCurve = pCompo->GetCurveCount() ; - // se contiene pił curve semplici, la spezzo ad una giunzione - if ( nTotCurve >= 2) { - int nHalfCurve = nTotCurve / 2 ; - ExeSplitCurveAtParam( nId, nHalfCurve) ; - } - // altrimenti la spezzo esattamente a metą - else - ExeSplitCurve( nId, 2) ; - } - } + //if ( pGeomDB->GetGroupObjs( nLayerId) == 1) { + // int nId = pGeomDB->GetFirstInGroup( nLayerId) ; + // ICurveComposite* pCompo = GetCurveComposite( pGeomDB->GetGeoObj( nId)) ; + // if ( pCompo != nullptr) { + // int nTotCurve = pCompo->GetCurveCount() ; + // // se contiene pił curve semplici, la spezzo ad una giunzione + // if ( nTotCurve >= 2) { + // int nHalfCurve = nTotCurve / 2 ; + // ExeSplitCurveAtParam( nId, nHalfCurve) ; + // } + // // altrimenti la spezzo esattamente a metą + // else + // ExeSplitCurve( nId, 2) ; + // } + //} // Aggiorno l'ordinamento bOk = bOk && ExeReorderCurvesInGroup( nLayerId, ORIG, RTY_GLOB) ; // Inserisco in ogni curva info su angoli con precedente e successiva diff --git a/EgtExecutor.rc b/EgtExecutor.rc index d615f86c375ae73b2d9869963d82f8acdacc276d..22300311054f4dd94857ca7f9b3fa5ea2052035f 100644 GIT binary patch delta 79 zcmexR`k{2gFE&P_&A-`PnSqoe*K!sx?>N)s4T4pSMw1=6k~jAW*?>e(i-FY$N+HxV MD8kglDNT|90Gd4;g#Z8m delta 79 zcmexR`k{2gFE&QQ&A-`PnSqoe*K!sx?>N)s4T4pShLat+k~jAW*?>e(i-FY$N+HxV MD8kglDNT|90GRO`eE