mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0022492: Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.
This commit is contained in:
@@ -764,7 +764,7 @@ Standard_Boolean ShapeFix_Face::FixAddNaturalBound()
|
||||
|
||||
// deal with case of empty face: just create a new one by standard tool
|
||||
if ( ws.Length() <=0 ) {
|
||||
BRepBuilderAPI_MakeFace mf (mySurf->Surface());
|
||||
BRepBuilderAPI_MakeFace mf (mySurf->Surface(), Precision::Confusion());
|
||||
if ( ! Context().IsNull() ) Context()->Replace ( myFace, mf.Face() );
|
||||
myFace = mf.Face();
|
||||
|
||||
@@ -859,7 +859,7 @@ Standard_Boolean ShapeFix_Face::FixAddNaturalBound()
|
||||
/* variant 2 */
|
||||
TopLoc_Location L;
|
||||
Handle(Geom_Surface) surf = BRep_Tool::Surface ( myFace, L );
|
||||
BRepBuilderAPI_MakeFace mf (surf);
|
||||
BRepBuilderAPI_MakeFace mf (surf, Precision::Confusion());
|
||||
TopoDS_Face ftmp = mf.Face();
|
||||
ftmp.Location ( L );
|
||||
for (wi.Initialize (ftmp,Standard_False); wi.More(); wi.Next()) {
|
||||
|
Reference in New Issue
Block a user