This commit is contained in:
Christopher Lackner 2022-06-08 20:59:06 +02:00
parent 03e21d5c5f
commit 3531f9c9d4

View File

@ -1544,7 +1544,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
};
py::class_<ListOfShapes> (m, "ListOfShapes")
.def(py::init<vector<TopoDS_Shape>())
.def(py::init<vector<TopoDS_Shape>>())
.def("__iter__", [](ListOfShapes &s) {
return py::make_iterator(ListOfShapesIterator(&*s.begin()),
ListOfShapesIterator(&*s.end()));