Problem occurs because HEXABLOCK module contains HEXABLOCKEngine library and HEXABLOCKPLUGIN module contains HexaBlockPluginEngine. But on windows HexaBlockEngine equal to the HEXABLOCKEngine.
comp_smesh.init_smesh(study, geompy.geom)
meshexa = comp_smesh.Mesh(shape)
- so = "libHexaBlockEngine.so"
+ so = "libHexaBlockPluginEngine.so"
algo = smesh.SMESH._objref_SMESH_Gen.CreateHypothesis(comp_smesh, "HEXABLOCK_3D", so)
meshexa.mesh.AddHypothesis(shape, algo)