EgtExecutor :

- aggiunta funzione per l'estensione di una superficie in tangenza.
- cambiata chiamata alla offset3d.
This commit is contained in:
Daniele Bariletti
2026-06-24 15:16:42 +02:00
parent f3289bee00
commit 9f346db96d
3 changed files with 55 additions and 7 deletions
+1 -7
View File
@@ -2761,15 +2761,9 @@ ExeOffsetCurve3d( int nId, int nSurfId, double dDist, int nType, int* pnCount, d
PNT5AXVECTOR vPt5ax ;
if ( ! ProjectCurveOnSurf( *pCurve, vpSurf, dLinTol, dMaxSegLen, bSharpEdges, vPt5ax))
return GDB_ID_NULL ;
PolyLine PL ;
VCT3DVECTOR vOffDir ;
for ( int i = 0 ; i < ssize( vPt5ax) ; ++i) {
PL.AddUPoint( i, vPt5ax[i].ptP) ;
vOffDir.push_back( vPt5ax[i].vtDir1) ;
}
// eseguo l'offset
OffsetCurve3d OffsCrv( dLinTol) ;
bool bOk = OffsCrv.Make( PL, vOffDir, dDist, nType) ;
bool bOk = OffsCrv.Make( vPt5ax, dDist, nType) ;
// salvo le curve di offset
int nRefId = nId ;
int nCount = 0 ;