EgtInterface 1.6a5 :

- correzione a EgtCreateSurfTriMeshByScrewing per suddivisione con angoli negativi.
This commit is contained in:
Dario Sassi
2015-01-26 18:53:18 +00:00
parent a45c3fca8a
commit 1bea531b4f
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ __stdcall EgtCreateSurfTriMeshByScrewing( int nParentId, int nCrvId,
double dStepRotDeg = sqrt( 8 * dLinTol / dMaxRad) * RADTODEG ;
// se superficie rototraslata, necessari limiti sulla lunghezza dei segmenti
if ( fabs( dAngRotDeg) > EPS_ANG_SMALL && fabs( dMove) > EPS_SMALL){
double dLenMax = 2 * fabs( dMove) * dStepRotDeg / dAngRotDeg ;
double dLenMax = 2 * fabs( dMove * dStepRotDeg / dAngRotDeg) ;
bOk = bOk && PL.AdjustForMaxSegmentLen( dLenMax) ;
}
// creo e setto la superficie trimesh