How to use remote module in Python?

For some reason, the CMakeLists.txt wasn’t set up for wrapping.

Edit Remote/Powercrust/CMakeLists.txt and modify vtk_module_add_module() as follows:

  vtk_module_add_module(VTK::Powercrust
    SOURCES vtkPowerCrustSurfaceReconstruction.cxx
    HEADERS vtkPowerCrustSurfaceReconstruction.h
    )

The HEADERS was missing, and without HEADERS (or, alternatively, CLASSES), the wrappers cannot be generated.

1 Like