Search found 34 matches
- Fri Apr 01, 2022 12:32 am
- Forum: OpenSim
- Topic: Edit Wrapping Surface Proprties API
- Replies: 7
- Views: 1383
Re: Edit Wrapping Surface Proprties API
Hi Bryce, Here is a code snippet for an ellipsoid wrapping object ellipsoid = osim_model.getBodySet().get(0).getWrapObjectSet().get(4) wrap_ellip = osim.WrapEllipsoid.safeDownCast(ellipsoid) initial_dim = wrap_ellip.getRadii() # value: [0.1,0.135,0.08] wrap_ellip.set_dimensions(osim.Vec3(0.1, 0.235,...
- Wed Mar 30, 2022 6:08 am
- Forum: OpenSim
- Topic: Edit Wrapping Surface Proprties API
- Replies: 7
- Views: 1383
Re: Edit Wrapping Surface Proprties API
Hi Bryce, I am not sure what changes were included in the 4.1 version, but I had a compiled version from the gihub repo somewhere between the 4.0 and 4.1 Opensim releases. I was able then to modify the properties of the wrapping objects via pyhton by safe downcasting the functions from the class cor...
- Tue Mar 15, 2022 1:13 am
- Forum: OpenSim
- Topic: Active Fiber Force when Activation set to 0
- Replies: 6
- Views: 1301
Re: Active Fiber Force when Activation set to 0
Hi, I think while the activation was overridden to 0, Opensim relies on the default values (min activation) of the muscle to plot the active fibre force. I am not sure if you are using a Thelen muscle but as you can see here : https://github.com/opensim-org/opensim-core/blob/9d6e9b1e2f0aaf43622cffe8...
- Mon Jan 31, 2022 12:42 am
- Forum: OpenSim
- Topic: External object simulation
- Replies: 3
- Views: 473
Re: External object simulation
Hi,
If you are connecting your body to the ground, you can find an implementation in python here: https://github.com/pyomeca/pyosim/blob/ ... le.py#L205
Hope it helps.
If you are connecting your body to the ground, you can find an implementation in python here: https://github.com/pyomeca/pyosim/blob/ ... le.py#L205
Hope it helps.
- Wed Oct 06, 2021 1:56 am
- Forum: OpenSim
- Topic: Rajagopal's model bone geometry
- Replies: 8
- Views: 1652
Re: Rajagopal's model bone geometry
Hi, The wrapping objects are created under their frame. In the GUI, you can find the information in the model tree in the navigator. Under each body, you can see the wrapping objects (INFSPcyl) fixed to its frame (scapula). Tree_wrap.PNG In the osim, it is the same logic, under each body of the body...
- Thu Sep 23, 2021 12:32 am
- Forum: OpenSim
- Topic: can not remove muscles
- Replies: 2
- Views: 320
Re: can not remove muscles
Hi,
I had a similar issue, except I work with python, so I am not sure the solution would be the same.
In my case, I had to update the model's ForceSet, instead of the muscle set, to be able to successfully save it in the new osim file.
Hope it helps,
Najoua
I had a similar issue, except I work with python, so I am not sure the solution would be the same.
In my case, I had to update the model's ForceSet, instead of the muscle set, to be able to successfully save it in the new osim file.
Hope it helps,
Najoua
- Sun Sep 19, 2021 11:49 pm
- Forum: OpenSim
- Topic: Scaling subject-specific muscle strength
- Replies: 3
- Views: 717
Re: Scaling subject-specific muscle strength
Hi,
Using the EMG data, there is the CEINMS toolbox (https://simtk.org/projects/ceinms) that calibrates musculo-tendon parameters including the muscle max isometric force.
Hope it helps,
Najoua
Using the EMG data, there is the CEINMS toolbox (https://simtk.org/projects/ceinms) that calibrates musculo-tendon parameters including the muscle max isometric force.
Hope it helps,
Najoua
- Sun Sep 19, 2021 11:42 pm
- Forum: OpenSim
- Topic: TimeSeriesTable to Storage
- Replies: 3
- Views: 500
Re: TimeSeriesTable to Storage
Hi, I see you are using python. So, you can start by adding the storage file info such as the column or row number using new_table.addTableMetaDataString() supposing new_table is the TimeSeriesTable you created. Then, you can save it as a storage file output_file using: adapter = osim.STOFileAdapter...
- Thu Aug 19, 2021 6:19 am
- Forum: OpenSim
- Topic: extracting or plot markers data
- Replies: 2
- Views: 336
Re: extracting or plot markers data
Hi,
If you open your IK xml file, you can change <report_marker_locations> to true. After you run the IK tool, and additional file is created with the location of your markers in the Ground.
Regards,
Najoua
If you open your IK xml file, you can change <report_marker_locations> to true. After you run the IK tool, and additional file is created with the location of your markers in the Ground.
Regards,
Najoua
- Thu Aug 19, 2021 6:16 am
- Forum: OpenSim
- Topic: Scaling subject with Equinus
- Replies: 5
- Views: 865
Re: Scaling subject with Equinus
Hi, Using the projection method improves your chances of having a flat foot at the end of the scaling, supposing it is in contact with the ground. Thus you can only use this approach correctly for the Z direction. Supposing you have no additional data, you could try to use the average of Heel-Medial...