removed references to OCC<7

This commit is contained in:
andrea
2022-06-25 10:26:24 +02:00
committed by Uwe
parent d5340a82ab
commit c66aadeb60
46 changed files with 49 additions and 714 deletions

View File

@@ -143,11 +143,7 @@ App::DocumentObjectExecReturn *Extend::execute(void)
approx.Init(approxPoints, ParType, DegMin, DegMax, Continuity, Tol3d);
Handle(Geom_BSplineSurface) surface(approx.Surface());
BRepBuilderAPI_MakeFace mkFace(surface
#if OCC_VERSION_HEX >= 0x060502
, Precision::Confusion()
#endif
);
BRepBuilderAPI_MakeFace mkFace(surface, Precision::Confusion());
Shape.setValue(mkFace.Face());

View File

@@ -92,11 +92,7 @@ App::DocumentObjectExecReturn *Sections::execute(void)
if (aSurf.IsNull())
return new App::DocumentObjectExecReturn("Failed to create surface from sections.");
BRepBuilderAPI_MakeFace mkFace(aSurf
#if OCC_VERSION_HEX >= 0x060502
, Precision::Confusion()
#endif
);
BRepBuilderAPI_MakeFace mkFace(aSurf, Precision::Confusion() );
Shape.setValue(mkFace.Face());
return StdReturn;