Hi @Eyad, sorry for the late reply.
You can take a look at this video: https://ez4linkss.com/DqjN
I used MeshLab to convert *.obj to *.stl and then used GMsh to convert *.stl to *.msh. There *.msh format I received is diffent from the *.msh given by Sofa
I found the solution from here: https://www.sofa-framework.org/community/forum/topic/adding-sofa-module-to-spyder/
I think it will be much easier to understand if you have an example like:
runSofa ./houseOfCards.py
in the documentation
Can anyone tell me how to import Sofa in python? I built Cmake successfully and got a runPython.dll file. When I open Python and import Sofa, there is no module called Sofa
I found the solution for this:
Instead of using “C:/H3D/lib32”, augment it to “C:/H3D/lib32/HAPI_vc15.lib”
Anyone knows what is this warning and how to solve:
WARNING: Target “SofaHAPI” requests linking to directory “C:/H3D/lib32”. Targets may link only to libraries. CMake is dropping the item.
By manually assigned value to “Boost_SYSTEM_LIBRARY_RELEASE, Boost_PROGRAM_OPTIONS …” to G:/My drive/Library/sofa/src/boost_1_166_0/lib64-msvc-14.0, I solved the problem.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.