Forum Replies Created
-
AuthorPosts
-
DiegoMtz
BlockedHello @pasquale94
Can you help me telling me how did you solve the problem with thereduceMyModel.phase2()
And the error related to the reading of the file stateFile.state
Thanks in advances
DiegoMtz
BlockedHi @agustinsantana,
I solved this issue adding runSofa.exe to my PATH and creating another variable named SOFA_ROOT and the path to the Sofa folder, if you are from Mexico you can send me an email dmartinezs1500@alumno.ipn.mx
DiegoMtz
BlockedHi @Hugo
Yes i have loaded.
[INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/bin/STLIB.dll [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/bin/SoftRobots.dll [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/Flexible/bin/Flexible.dll [INFO] [SofaPython] Added 'C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython/lib/python2.7/site-packages' to sys.path [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython/bin/SofaPython.dll [INFO] [SofaPython3] Initializing with python version 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] [INFO] [SofaPython3] Registering a scene loader for [.py, .py3, .pyscn, .py3scn] files. [INFO] [SofaPython3] Intializing python [INFO] [SofaPython3] Added 'C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython3/lib/python3/site-packages' to sys.path [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython3/bin/SofaPython3.dll [INFO] [SofaPython] No python dir found in C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython3 [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots.Inverse/bin/SoftRobots.Inverse.dll [INFO] [SofaPython3] No python3 dir found in C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots.Inverse [INFO] [SofaPython] Added 'C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots.Inverse/lib/python2.7/site-packages' to sys.path
However whe i try to open a tutorial this is the messsage that appear
[INFO] [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias] [INFO] [SceneCheckerVisitor] Finished validating node "root". [ERROR] [PythonScript] ImportError: No module named stlib.scene File "firststeps-tuto.pyscn", line 1, in <module> from stlib.scene import MainHeader, ContactHeader [ERROR] [SofaPython] Script (file:firststeps-tuto) import error [ERROR] [SofaPython] scene script load error. [WARNING] [RealGUI] Failed to load C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots/docs/tutorials/FirstSteps/firststeps-tuto.pyscn
DiegoMtz
BlockedThanks for your reply,
Im using the versio 20.12.
It works, i loaded the plugin and now i can open the files, however i have another issue.
When i load a file, for example the first tutorial,i have this error.[ERROR] [PythonScript] ImportError: No module named stlib.scene
File “newSceneD.pyscn”, line 1, in <module>
from stlib.scene import MainHeader, ContactHeader[ERROR] [SofaPython] Script (file:newSceneD) import error
[ERROR] [SofaPython] scene script load error.
[WARNING] [RealGUI] Failed to load C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/share/sofa/config/newSceneD.pyscnDiegoMtz
BlockedHi @Hugo
Im trying to use SOFA with the Soft Robot plugin however im having this problem when i tried to open the tutorials files.
[INFO] [SceneCheckerVisitor] Validating node “root” with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias]
[INFO] [SceneCheckerVisitor] Finished validating node “root”.
[ERROR] [DAGSimulation(Simulation)] extension (pyscn) not handled
[WARNING] [RealGUI] Failed to load C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots/docs/examples/plugintests.pyscnCan you help me with this problem?
-
AuthorPosts