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

@@ -81,7 +81,7 @@ void ShapeUpgrade_WireDivide::Init(const TopoDS_Wire& W,
{
// if (ShapeUpgrade::Debug()) cout <<"ShapeUpgrade_WireDivide::Init with Wire, Surface "<<endl;
myWire = W;
BRepLib_MakeFace mkf(S);
BRepLib_MakeFace mkf(S, Precision::Confusion());
myFace = mkf.Face();
myStatus = ShapeExtend::EncodeStatus ( ShapeExtend_OK );
}
@@ -125,7 +125,7 @@ void ShapeUpgrade_WireDivide::SetFace(const TopoDS_Face& F)
void ShapeUpgrade_WireDivide::SetSurface(const Handle(Geom_Surface)& S)
{
BRepLib_MakeFace mkf(S);
BRepLib_MakeFace mkf(S, Precision::Confusion());
myFace = mkf.Face();
}