Page 1 of 1

Wrapping path method

Posted: Wed Nov 16, 2022 6:56 am
by samuelegould
Dear OpenSim community,

I am adding sphere wrapping surfaces to my model. I noticed the tag 'method' in the xml file under the PathWrap of the muscles. Documentation explains 'The wrapping method used to solve the path around the wrap object'. In the API documentation for version 2 (I could not find anything in the documentation for version 4) I was able to find three different possible methods, hybrid, axial, and midpoint. I have implemented all three but could not see any difference visually. I was wondering if anyone knows what the difference is between the three methods?

Thanks,
Samuele

Re: Wrapping path method

Posted: Wed Nov 16, 2022 10:21 am
by aymanh
Hello,

The "wrapMethod" is exclusively used to try different algorithms for ellipsoid wrapping so it should have no effect on WrapSphere and there should not be any changes in cases where a path wraps around any other surface type.

Hope this helps,
-Ayman

Re: Wrapping path method

Posted: Wed Nov 16, 2022 11:44 am
by samuelegould
Hello Ayman,

Thank you for the clarification, exactly what I needed to know.

Best,
Samuele