opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
783 stars 316 forks source link

[Feature Request] more data conversion in Python #3645

Open mrrezaie opened 9 months ago

mrrezaie commented 9 months ago

Hi, I'm asking for new features related to data conversion in Python that could really make things easier.

opensim.Vector/RowVector and numpy.ndarray objects are easily convertible. However, this is not the case for opensim.VectorVec3/RowVectorVec3. This feature would be useful when you want to get a 3D column from a TimeSeriesTableVec3, e.g., markers data, or append a column to it, which is not straight and requires more loops on the user side.

https://github.com/opensim-org/opensim-core/issues/3448

Thank you in advance!!!