1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0022492: Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.

This commit is contained in:
SSV
2011-09-20 11:44:50 +00:00
committed by bugmaster
parent 9a0a1cb892
commit 1c72dff612
35 changed files with 311 additions and 272 deletions

View File

@@ -2085,7 +2085,7 @@ void BRepOffset_MakeOffset::CorrectConicalFaces()
{
Vfirst = -PI/2.; Vlast = p2d1.Y();
}
TopoDS_Face NewSphericalFace = BRepLib_MakeFace(aSphSurf, Ufirst, Ulast, Vfirst, Vlast);
TopoDS_Face NewSphericalFace = BRepLib_MakeFace(aSphSurf, Ufirst, Ulast, Vfirst, Vlast, Precision::Confusion());
TopoDS_Edge OldEdge;
for (Explo.Init(NewSphericalFace, TopAbs_EDGE); Explo.More(); Explo.Next())
{

View File

@@ -1446,7 +1446,7 @@ void BRepOffset_Offset::Init(const TopoDS_Edge& Edge,
GeomFill_Pipe Pipe(CP,myOffset);
Pipe.Perform();
BRepLib_MakeFace MF(Pipe.Surface());
BRepLib_MakeFace MF(Pipe.Surface(), Precision::Confusion());
myFace = MF.Face();
if ( Offset < 0.) myFace.Reverse();

View File

@@ -377,7 +377,7 @@ static void BuildPCurves (const TopoDS_Edge& E,
{
gp_Pnt fpoint = AC.Value( AC.FirstParameter() );
gp_Pnt lpoint = AC.Value( AC.LastParameter() );
TopoDS_Face theFace = BRepLib_MakeFace( theSurf );
TopoDS_Face theFace = BRepLib_MakeFace( theSurf, Precision::Confusion() );
Standard_Real U1 = 0., U2 = 0., TolProj = 1.e-4; //1.e-5;
TopoDS_Edge theEdge;
TopExp_Explorer Explo;