blendmsh
blendmsh copied to clipboard
Can't install addon
When I try to install gmsh via addon it doesn't work.
When I install it via prompt it doesn't recognize it.
When I try to install gmsh via addon it doesn't work.
When I install it via prompt it doesn't recognize it.
try install python package (pip install gmsh-api)
I get a similar problem - I installed gmsh-api
I've had the same problem. The issue is the name of the folder contained within the zip archive. It MUST NOT contain dots in it's name. Python cannot find the module in the folder otherwise.
Another issue you might run into, if you use Blender >= 2.92 you need to fix utils_pip.py
contained in the package, because bpy.app.binary_path_python
has been deprecated and does not exist anymore.
So to fix it:
- Download zip
- Extract zip
- Rename extracted folder from
blendmesh-1.0.0
toblendmesh
- If using Blender >= 2.92 fix the PYPATH in
utils_pip.py
to usesys.executbale
import bpy import subprocess import sys PYPATH = sys.executable
- Package zip
- Import in blender (Maybe restart blender. I had some issues here.)
If you do this you can at least activate the addon and attempt to use it.
Under windows I'm currently having a series of issues related to gmsh-api itself. It does not by default come with the .dll only the .so file of gmsh. Also after manually downloading the SDK and adding it to the package there are still some cryptic errors left. Probably Windows related as well.
I get a similar problem - I installed gmsh-api
i was installed gmsh-api (C:\Program Files (x86)\Steam\steamapps\common\Blender\2.93\python\bin> .\python.exe -m pip install gmsh-api). But i have new problem. I don't know how work this addon, i try push button mash and get error
i have gmsh, and gmsh-api
i was used from https://blender.stackexchange.com/questions/5287/using-3rd-party-python-modules for installing packages
I am also having problems with this addon. In my case, blender is installed with snap (Linux) and I am facing issues to make the code find the gmsh API. Also, it seems the addon tries to import gmsh-api, which is wrong. The package is named gmsh_api.
I just cloned this addon and I will try to find a solution to this. I will report here if I am successful. I will try to pack gmsh API manually with the addon and check if it can then run correctly.
I had the same problem and it wouldn't run. When I built Gmsh from source dynamically linked to the shader library with instructions from here it was at least possible to enable the add-on. Now I'm stuck on Gmsh opening within Blender (new window) but no mesh loaded and nothing happens. Closing the Gmsh window crashes Blender.
[SOLVED]
Do you have any solutions to make gmsh-api work in windows environment. Or just simple walkthrough HOW-TO . Done OK: .\python.exe -m pip install gmsh-api ; .\python.exe -m pip install gmsh
Meshing causes:
Soluition:
copy all WIN sdk lib contents to e.g. C:\Users\user\AppData\Roaming\Python\Python310\site-packages\gmsh_api
It should look like:
Thanks.