+ port to OCC 6.5.2

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5318 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-12-17 12:58:47 +00:00
parent 3888e949f4
commit 52d65e2085
6 changed files with 46 additions and 8 deletions

View File

@@ -48,6 +48,7 @@
# include <gp_Cone.hxx>
# include <gp_Sphere.hxx>
# include <gp_Torus.hxx>
# include <Standard_Version.hxx>
#endif
#include <BRepTopAdaptor_FClass2d.hxx>
@@ -135,7 +136,11 @@ int TopoShapeFacePy::PyInit(PyObject* args, PyObject* /*kwd*/)
return -1;
}
BRepBuilderAPI_MakeFace mkFace(S);
BRepBuilderAPI_MakeFace mkFace(S
#if OCC_VERSION_HEX >= 0x060502
, Precision::Confusion()
#endif
);
if (bound) {
Py::List list(bound);
for (Py::List::iterator it = list.begin(); it != list.end(); ++it) {