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:
@@ -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())
|
||||
{
|
||||
|
@@ -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();
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user