EgtInterface 1.6a5 :
- correzione a EgtCreateSurfTriMeshByScrewing per suddivisione con angoli negativi.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user