Hi All,
I am attempting to query the path each muscle takes between it's origin and insertion. Looking through the 3.2 API documentation I am able to attain the path points (origin/insertion , any via points and the on/off wrap points). I am trying to find the path the muscle takes wrapping around a cylinder/sphere. Looking at the OpenSim 2.4 API Doxygen page, it seems a function does exist, wrapLine (here :https://simtk.org/api_docs/opensim/api_docs24/ WrapCylinder.wrapLine). However I when querying specific wrapping cylinder (even when safeDownCasting) this function is not listed and when I try to use it, no function is found. Looking into some of the OpenSIm files, It seems this function/action is "private" . Is there anyway I can access this function using the OpenSim 3.3 API through python ? If not, if I installed Opensim 2.4 with Python Binding, would I be able to access it ?
Thanks in advance for any advice
Best
Bryce Killen
Deprecated WrapLine Function
- Bryce Killen
- Posts: 104
- Joined: Mon Nov 24, 2014 7:12 pm
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: Deprecated WrapLine Function
There are some relevant threads in the Forum (search for "wrapping"). See, for example, topic 7831 (viewtopicPhpbb.php?f=91&t=7831).
- Bryce Killen
- Posts: 104
- Joined: Mon Nov 24, 2014 7:12 pm
Re: Deprecated WrapLine Function
Hi Tom,
Thanks for your reply. I have read these threads previously and going back to them actually answered the question, in fact there is no way through the API to get the points/muscle path while it is wrapping around the surface. You can get each point, ie. fixed origin/insertions , via points and wrap on/off but no way to access the "wrapLine" which would give the muscle path points between the on/off wrapping points.
Thanks
Thanks for your reply. I have read these threads previously and going back to them actually answered the question, in fact there is no way through the API to get the points/muscle path while it is wrapping around the surface. You can get each point, ie. fixed origin/insertions , via points and wrap on/off but no way to access the "wrapLine" which would give the muscle path points between the on/off wrapping points.
Thanks
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: Deprecated WrapLine Function
If you really need them, you should be able to fish these points out in C++ (see GeometryPath's PathWrapSet).