Search found 4 matches

by Navid Roux
Wed Jun 20, 2018 9:25 am
Forum: OpenSim
Topic: API: Loading model states from an Inverse Kinematics motion file
Replies: 2
Views: 579

API: Loading model states from an Inverse Kinematics motion file

I have an OpenSim model file and an accompanying motion file from a prior inverse kinematics calculation. Now I would like to programmatically "animate" the model such that I get access to transformations for every body in the bodyset in every time step. Unfortunately, I fail to see how to link Mode...
by Navid Roux
Wed Jun 20, 2018 6:25 am
Forum: OpenSim
Topic: Cannot import OpenSim module: "DLL load failed"
Replies: 3
Views: 1537

Re: Cannot import OpenSim module: "DLL load failed"

Solution: Using Python 3.5 solved the problem. @Admins/OpenSim Devs: Could the solution description be edited into Scripting in Python on OpenSim's wiki ? Detailed solution: Go to "[OpenSim installation directory]\sdk\python". Start a shell there and run "python setup.py install". (Be sure to use t...
by Navid Roux
Mon Jun 11, 2018 10:17 am
Forum: OpenSim
Topic: Cannot import OpenSim module: "DLL load failed"
Replies: 3
Views: 1537

Re: Cannot import OpenSim module: "DLL load failed"

Its probably a permission problem because you installed opensim in program files. I suggest that you should install opensim in a different directory. I copied "C:\Program Files\OpenSim 4.0.Beta" to a path without spaces ("D:\Opensimbeta") and repeated all steps (python setup.py + setting environmen...
by Navid Roux
Sat Jun 09, 2018 10:28 am
Forum: OpenSim
Topic: Cannot import OpenSim module: "DLL load failed"
Replies: 3
Views: 1537

Cannot import OpenSim module: "DLL load failed"

Solution : see post below! Steps to reproduce: Install OpenSim 4.0.Beta to "C:\Program Files\OpenSim 4.0.Beta" Navigate to "C:\Program Files\OpenSim 4.0.Beta\sdk\python" Run "python setup.py install" (from a shell with elevated permissions since OpenSim was installed to C:\Program Files) Run "pytho...