EgtExecutor :
- in ExeProjectCurveOnSurfTm ai Vettori risultato aggiunta info Ind (indice di collegamento con gli estremi della curva risultato).
This commit is contained in:
@@ -2319,6 +2319,7 @@ MyProjectCurveOnSurfTm( int nCurveId, int nSurfTmId, const Vector3d& vtDir, int
|
||||
if ( nCompoId == GDB_ID_NULL)
|
||||
return false ;
|
||||
// aggiungo i versori nel gruppo destinazione
|
||||
int nInd = 0 ;
|
||||
for ( const auto& Pt5ax : vPt5ax) {
|
||||
PtrOwner<IGeoVector3d> pGeoVct( CreateGeoVector3d()) ;
|
||||
if ( IsNull( pGeoVct))
|
||||
@@ -2327,6 +2328,7 @@ MyProjectCurveOnSurfTm( int nCurveId, int nSurfTmId, const Vector3d& vtDir, int
|
||||
int nNewId = pGeomDB->AddGeoObj( GDB_ID_NULL, nDestGrpId, Release( pGeoVct)) ;
|
||||
if ( nNewId == GDB_ID_NULL)
|
||||
return false ;
|
||||
pGeomDB->SetInfo( nNewId, "Ind", nInd ++) ;
|
||||
pGeomDB->SetInfo( nNewId, "Par", Pt5ax.dPar) ;
|
||||
pGeomDB->SetInfo( nNewId, "Flag", Pt5ax.nFlag) ;
|
||||
}
|
||||
@@ -2574,7 +2576,7 @@ ExePocketing( const INTVECTOR vId, double dRad, double dStep, double dAngle, int
|
||||
// vettore contente tutte le curve selezionate
|
||||
ICURVEPLIST lstPC ;
|
||||
if ( ! MyGetCurves( Id, lstPC, vtN))
|
||||
; // entità scartata
|
||||
continue ;
|
||||
for ( auto pCrv : lstPC) {
|
||||
vpCrvs.emplace_back( pCrv) ;
|
||||
vInds.emplace_back( Id) ;
|
||||
@@ -2604,6 +2606,7 @@ ExePocketing( const INTVECTOR vId, double dRad, double dStep, double dAngle, int
|
||||
if ( bOk && int( vCrvCompoRes.size()) > 0) {
|
||||
// scorro le curve di Pocketing ottenute
|
||||
for ( int u = 0 ; u < int( vCrvCompoRes.size()) ; ++ u) {
|
||||
vCrvCompoRes[u]->ToLoc( frDest) ;
|
||||
// inserisco la curva nel DB Geometrico
|
||||
int nCurrId = pGeomDB->AddGeoObj( GDB_ID_NULL, nDestGrpId, Release( vCrvCompoRes[u])) ;
|
||||
if ( nCurrId == GDB_ID_NULL)
|
||||
|
||||
Reference in New Issue
Block a user