mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0031616: Modeling algorithm - Section between two shells returns wire with gaps (720)
This commit is contained in:
parent
fbebf6078c
commit
cb127824b2
@ -246,7 +246,22 @@ void IntTools_TopolTool::ComputeSamplePoints()
|
|||||||
}
|
}
|
||||||
if(nbsu < 10) nbsu = 10;
|
if(nbsu < 10) nbsu = 10;
|
||||||
if(nbsv < 10) nbsv = 10;
|
if(nbsv < 10) nbsv = 10;
|
||||||
|
// Check anisotropy
|
||||||
|
Standard_Real anULen = (usup - uinf) / myS->UResolution(1.);
|
||||||
|
Standard_Real anVLen = (vsup - vinf) / myS->VResolution(1.);
|
||||||
|
Standard_Real aRatio = anULen / anVLen;
|
||||||
|
if (aRatio >= 10.)
|
||||||
|
{
|
||||||
|
nbsu *= 2;
|
||||||
|
nbsu = Min(nbsu, aMaxNbSample);
|
||||||
}
|
}
|
||||||
|
else if (aRatio <= 0.1)
|
||||||
|
{
|
||||||
|
nbsv *= 2;
|
||||||
|
nbsv = Min(nbsv, aMaxNbSample);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case GeomAbs_SurfaceOfExtrusion: {
|
case GeomAbs_SurfaceOfExtrusion: {
|
||||||
nbsu = 15;
|
nbsu = 15;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user