+ 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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user