mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0022492: Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.
This commit is contained in:
@@ -380,6 +380,6 @@ static TopoDS_Shape MakeShape(const Handle(Geom_Surface)& );
|
||||
TopoDS_Shape MakeShape(const Handle(Geom_Surface)& S)
|
||||
{
|
||||
GeomAbs_Shape c = S->Continuity();
|
||||
if (c >= GeomAbs_C2) return BRepBuilderAPI_MakeFace(S);
|
||||
if (c >= GeomAbs_C2) return BRepBuilderAPI_MakeFace(S, Precision::Confusion());
|
||||
else return BRepBuilderAPI_MakeShell(S);
|
||||
}
|
||||
|
Reference in New Issue
Block a user