mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 12:07:41 +08:00
0022492: Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
static 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