mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0022492: Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.
This commit is contained in:
@@ -997,7 +997,7 @@ static void ChFi3d_BuildPlane (TopOpeBRepDS_DataStructure& DStr,
|
||||
if (theProp.IsNormalDefined()) {
|
||||
P = theProp.Value();
|
||||
Handle(Geom_Plane) Pln = new Geom_Plane(P, theProp.Normal());
|
||||
TopoDS_Face NewF = BRepLib_MakeFace(Pln);
|
||||
TopoDS_Face NewF = BRepLib_MakeFace(Pln, Precision::Confusion());
|
||||
NewF.Orientation(F.Orientation());
|
||||
pons.SetCoord(0.,0.);
|
||||
HS->ChangeSurface().Initialize(NewF);
|
||||
|
@@ -367,7 +367,7 @@ static void CurveHermite (const TopOpeBRepDS_DataStructure& DStr,
|
||||
TopExp::MapShapes(OrtProj.Projection() , TopAbs_EDGE, MapE1);
|
||||
if (MapE1.Extent()!=0){
|
||||
if (MapE1.Extent()!=1) {
|
||||
BRepLib_MakeFace Bface (BRep_Tool::Surface(F));
|
||||
BRepLib_MakeFace Bface (BRep_Tool::Surface(F), Precision::Confusion());
|
||||
F=Bface.Face();
|
||||
OrtProj.Init(F);
|
||||
OrtProj.Build();
|
||||
|
Reference in New Issue
Block a user