Hi @agnesenardi
Could you please let me know with which software you use for meshing? I tried using gmsh, but Sofa insists that the file is not a true .msh file.
Hey @Hugo,
Thanks for the reply. No, not the binary version. I compiled sofa from source code. Sofa python2 plugin works correctly but the sofaPython3 fails. I get this error when I load the plugin from the plugin manager.
Currently, I have decided to continue sofaPython2. Will I be at a great disadvantage if I choose not to upgrade to sofaPython3?
Edit: I forgot to add I’m using the latest version of sofa v20.12.02
If anyone encounters the exact same problem. This is how I solved:
1) Installed SofaHapi normally [H3D directory]
2) Downloaded the source code as well (link for it can be found on h3d.org)
3) Copied the HAPI.h and H3DUtil.h file to the respective include folders in the H3D directory
4) Did some debugging and that was it
5) And don’t forget to add the BIN folder to the environment path!
The HAPI.h and H3DUtil.h files were getting removed from my H3D directory for some reason.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.