Search found 7 matches

by Raul Munoz
Tue Dec 15, 2020 4:36 pm
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Re: Create simple model from scratch

Hello Ayman,

Thanks a lot for your help and your suggestions.

I will keep learning and let you know if I encounter any script that does not work as expected.

Best regards,
Raul
by Raul Munoz
Sun Dec 13, 2020 1:37 pm
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Re: Create simple model from scratch (solved!)

Thank you very much, Thomas. The example of GitHub works great. That is exactly what I was looking for!
Sorry, last question: would you please tell me where to find similar examples?
Many thanks.
by Raul Munoz
Sun Dec 13, 2020 7:17 am
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Re: Create simple model from scratch

Thank you, Thomas. Now I understand. I have noticed that some examples included in the Resources/Code/GUI directory work, but others such as createRodForPendulum.py show some errors: Jython Interactive Console >>> Traceback (most recent call last): File "C:\Users\mycomputername\Documents\OpenSim\4.1...
by Raul Munoz
Sun Dec 13, 2020 5:40 am
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Re: Create simple model from scratch

Thank you for your help, Thomas. Coming back to my problem (I can't run the examples from the script/run menu), is there anything I can do to check that Python is properly installed and linked to OpenSIM? If Spyder works fine and my OpenSIM can load models with *.osim extension, but I can't run pyth...
by Raul Munoz
Sat Dec 12, 2020 2:19 pm
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Re: Create simple model from scratch

Thank you again, Ricardo. I have tried to run the example scripts from the main menu (Script/Run) and they don't work either. There must be something wrong in the installation, but I can't see what.
by Raul Munoz
Sat Dec 12, 2020 1:19 pm
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Re: Create simple model from scratch

Thank you for your help, Ricardo. I think the opensim python package is installed. At least, I followed the steps indicated in the website you have suggested (including python setup.py install ). The folder C:\OpenSim 4.1\sdk\Python is available in my computer and when I type "import opensim" in Spy...
by Raul Munoz
Sat Dec 12, 2020 11:03 am
Forum: OpenSim
Topic: Create simple model from scratch
Replies: 12
Views: 666

Create simple model from scratch

Dear All, I'm a new user of OpenSim. I would like to learn how to create a very simple model from scratch, so I am trying to run an example (build_simple_arm_model.py) from either Script/Run menu or the ScriptingShell Window, but the following error message is displayed in the ScriptingShellWindow: ...