diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt index c24275ee..a44c4a41 100644 --- a/bindings/python/CMakeLists.txt +++ b/bindings/python/CMakeLists.txt @@ -29,7 +29,7 @@ add_geode_python_wheel( DESCRIPTION "Open source framework for inspecting the validity of geometric models" MODULES - "inspection.py" + "inspector_inspection.py" "validity.py" LICENSE "MIT" ) diff --git a/bindings/python/inspection.py b/bindings/python/inspector_inspection.py similarity index 100% rename from bindings/python/inspection.py rename to bindings/python/inspector_inspection.py diff --git a/bindings/python/src/inspection/brep_inspector.hpp b/bindings/python/src/inspection/brep_inspector.hpp index c8be6d3f..80adcd97 100644 --- a/bindings/python/src/inspection/brep_inspector.hpp +++ b/bindings/python/src/inspection/brep_inspector.hpp @@ -34,6 +34,7 @@ namespace geode .def( pybind11::init<>() ) .def_readwrite( "meshes", &BRepInspectionResult::meshes ) .def_readwrite( "topology", &BRepInspectionResult::topology ) + .def( "nb_issues", &BRepInspectionResult::nb_issues ) .def( "string", &BRepInspectionResult::string ) .def( "inspection_type", &BRepInspectionResult::inspection_type );