diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index f29d4c61..b4f380ef 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -1544,6 +1544,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) }; py::class_ (m, "ListOfShapes") + .def(py::init>()) .def("__iter__", [](ListOfShapes &s) { return py::make_iterator(ListOfShapesIterator(&*s.begin()), ListOfShapesIterator(&*s.end()));