Search found 15 matches
- Thu Jul 06, 2023 12:05 pm
- Forum: OpenSim
- Topic: get location for muscle does not work in python
- Replies: 2
- Views: 633
Re: get location for muscle does not work in python
Hi Ekaterina, Try the following to get XYZ locations of the origin state = model.initSystem() muscle0 = model.getMuscles().get(0) origin_x = muscle0.getGeometryPath().getCurrentPath(state).get(0).getLocation(state).get(0) origin_y = muscle0.getGeometryPath().getCurrentPath(state).get(0).getLocation(...
- Fri Jun 03, 2022 2:29 pm
- Forum: OpenSim
- Topic: Potentially Helpful Pointers for OpenSim 4.3 Python 3.8 Install
- Replies: 11
- Views: 3020
Re: Potentially Helpful Pointers for OpenSim 4.3 Python 3.8 Install
Hi Andy, I think your error could likely be due to using Python 3.9. I've been able to get it set up for Python 3.8, but the same steps don't work with Python 3.9 or 3.10. Here's step-by-step proces of what I did to get it working using OpenSim 4.3 and Python 3.8 in case if it helps anyone (using th...
- Tue Jul 27, 2021 11:02 am
- Forum: OpenSim Moco
- Topic: Scapulothoracic Joint
- Replies: 2
- Views: 297
Re: Scapulothoracic Joint
Hi Nick,
Thanks for the reply and update. Unfortunately, the Wu model doesn't allow for free scapular motion. Looking forward to when the Scapulothoracic joint will be supported by Moco in a future update -- happy to test things out if needed.
Take care.
Dan
Thanks for the reply and update. Unfortunately, the Wu model doesn't allow for free scapular motion. Looking forward to when the Scapulothoracic joint will be supported by Moco in a future update -- happy to test things out if needed.
Take care.
Dan
- Fri Jul 23, 2021 1:29 pm
- Forum: OpenSim Moco
- Topic: Scapulothoracic Joint
- Replies: 2
- Views: 297
Scapulothoracic Joint
Hi Moco Team, I attempted to run Moco on Ajay Seth's thoracoscapular model to predict scapular + humeral kinematics for an arm elevation motion but didn't realize that ScapulothoraicJoints aren't supported yet in Moco and ran into error issue (generalized speeds don't match the derivative of the gen...
- Thu Jun 17, 2021 1:01 pm
- Forum: OpenSim
- Topic: Inverse dynamics differences - OpenSim 4.2 vs OpenSim 4.1
- Replies: 2
- Views: 405
Re: Inverse dynamics differences - OpenSim 4.2 vs OpenSim 4.1
Hi Ayman,
Thanks for your quick response. I'll contact Ajay directly to figure out what may be happening.
Take care!
Dan
Thanks for your quick response. I'll contact Ajay directly to figure out what may be happening.
Take care!
Dan
- Wed Jun 16, 2021 7:27 am
- Forum: OpenSim
- Topic: Inverse dynamics differences - OpenSim 4.2 vs OpenSim 4.1
- Replies: 2
- Views: 405
Inverse dynamics differences - OpenSim 4.2 vs OpenSim 4.1
Hi all, I've noticed a big difference in inverse dynamics results between OpenSim 4.2 vs 4.0/4.1 using Ajay Seth et al.'s thoracoscapular model and was wondering why this may be happening. I know that the Scapulothoracic Joint is now built-in with OpenSim 4.2 as opposed to using a plug-in with previ...
- Thu Feb 20, 2020 5:47 am
- Forum: OpenSim
- Topic: Bone/Segment Local Coordinate System
- Replies: 4
- Views: 822
Re: Bone/Segment Local Coordinate System
Hi Yunus, I believe the bone file I was referring to was the bone geometry (.vtp) file, which come with many of the models available on OpenSim. Here's a link that has some details, specifically " Q. What are .vtp, .stl, .obj files? ": https://simtk-confluence.stanford.edu/display/OpenSim/Frequently...
- Wed Jul 04, 2018 3:24 pm
- Forum: OpenSim
- Topic: Joint Reaction Analysis - Muscles with Wrapping
- Replies: 2
- Views: 473
Re: Joint Reaction Analysis - Muscles with Wrapping
Thanks Christopher!
Is there a way through Matlab and the API to output the vector components (Fx, Fy, Fz) of a muscle? Or alternatively, its direction cosines?
Thank you!
Dan
Is there a way through Matlab and the API to output the vector components (Fx, Fy, Fz) of a muscle? Or alternatively, its direction cosines?
Thank you!
Dan
- Thu Jun 14, 2018 1:40 pm
- Forum: OpenSim
- Topic: Change muscle attachment locations
- Replies: 1
- Views: 373
Re: Change muscle attachment locations
Figured out a workaround from using the API functions for those who might encounter a similar issue -- can edit the .osim file before importing the model by using the "fopen" function in Matlab and changing the exact line that's needed and saving that to file.
Dan
Dan
- Wed Jun 13, 2018 10:14 am
- Forum: OpenSim
- Topic: Change muscle attachment locations
- Replies: 1
- Views: 373
Change muscle attachment locations
Hi everyone,
Is there a quick way to change the origin and insertion attachments of a muscle in Matlab and have OpenSim re-calculate/update its Path around a wrapping object? I tried using the "replacePathPoint" function but it doesn't have an input for specifying the new position.
Thank you!
Dan
Is there a quick way to change the origin and insertion attachments of a muscle in Matlab and have OpenSim re-calculate/update its Path around a wrapping object? I tried using the "replacePathPoint" function but it doesn't have an input for specifying the new position.
Thank you!
Dan