Forum Replies Created
-
AuthorPosts
-
arsalanBlocked
Hello @damien-marchaluniv-lille1-fr
I am really very thankful to you 🙂 It works now as expected.
Thanks again and best regards,
ArsalanarsalanBlockedThe above problem was solved by setting two variables in System Variables of windows 10.
SOFA_ROOT = dirToInstallation…\SOFA\v21.06.00
PYTHONPATH = dirToInstallation…\SOFA\v21.06.00\plugins\SofaPython3\lib\python3\site-packagesHello @Hugo,
Please can you help me in solving the following errors? My sofa program identifies the .py scenes but it does not load them properly. Loading a simple .py scene gives the following error[ERROR] [SofaPython3::SceneLoader] RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)
At:
13-particle.py(7): createSceneand if i load an interactive type scene. it gives the following error
[ERROR] [SofaPython3::SceneLoader] AttributeError: module ‘Sofa’ has no attribute ‘PythonScriptController’
At:
13-particle-interactive.py(14): <module>
<frozen importlib._bootstrap>(219): _call_with_frames_removed
<frozen importlib._bootstrap_external>(728): exec_module
<frozen importlib._bootstrap>(677): _load_unlocked
<frozen importlib._bootstrap>(696): _load
C:\Users\arsal\AppData\Local\Programs\Python\Python37\Lib\imp.py(171): load_source
C:\Users\arsal\AppData\Local\Programs\Python\Python37\Lib\imp.py(234): load_module
<string>(3): <module>Thanks and regards,
arsalanBlockedHello @Hugo,
I actually need a surgery scenario for my university research. So any kind of surgery would be suitable in which tool-tissue interaction could be simulated would be better.
Thanks and Best regards,
ArsalanarsalanBlockedDaer @Hugo,
Unfortunately i cannot access that surgery scenario from your mentioned link. Is there any public repository? Or can you give another way to access that?
Thanks and best regards,
ArsalanarsalanBlockedDear @hugo
Thank you for your reply. Yes i want to simulate the virtual environment based on physical mechanical system. The physical control system should be connected to the simulation and behave according to the commands of control system. I am trying to simulate a kind of robotic surgery with soft tissues and then connecting it with control system.
Moreover are there any surgery related scenes or model already developed as examples?Thanks and best regards,
Arsalan -
AuthorPosts