GeoMop / bgem

geometry and meshing tools
GNU General Public License v3.0
4 stars 4 forks source link

gmsh finalize problem #35

Open jbrezmorf opened 3 years ago

jbrezmorf commented 3 years ago

@petrralek

Ahoj Pavle, stahnul jsem si tvou rozdelanou vetev bgem-PE_greet_mesh, vrazil si to k sobe do projektu, zkusil spustit a hazi to tuhle hlasku:

E:\skola\endorse\WGC2020-THM-MC\venv\Scripts\python.exe E:/skola/endorse/WGC2020-THM-MC/mlmc_random_frac/process.py output Traceback (most recent call last): File "E:/skola/endorse/WGC2020-THM-MC/mlmc_random_frac/process.py", line 623, in create_geom.generate_mesh(geometry_dict) File "E:\skola\endorse\WGC2020-THM-MC\mlmc_random_frac\create_geom.py", line 184, in generate_mesh gen = gmsh.GeometryOCC("greet_mesh_tunnel", verbose=True) File "E:\skola\endorse\WGC2020-THM-MC\mlmc_random_frac../bgem-PE_greet_mesh/src\bgem\gmsh\gmsh.py", line 198, in init self.model = gmsh.model.occ AttributeError: module 'gmsh' has no attribute 'model' Exception ignored in: <function GeometryOCC.del at 0x00000292D479C948> Traceback (most recent call last): File "E:\skola\endorse\WGC2020-THM-MC\mlmc_random_frac../bgem-PE_greet_mesh/src\bgem\gmsh\gmsh.py", line 545, in del gmsh.finalize() AttributeError: module 'gmsh' has no attribute 'finalize' generate mesh

Process finished with exit code 1

gmsh.py bych mel mit ten spravnej z adresare bgem, tak nevim, v cem je chyba; asi to bude nejaka ma blbost Dik, P.

jbrezmorf commented 3 years ago

Make unit test for creating and deleting the GeometryOCC.