ComputationalBiomechanicsLab / opensim-creator

A UI for building OpenSim models
https://opensimcreator.com
Apache License 2.0
137 stars 16 forks source link

Add UI tooling for editing muscle curves (e.g. `ForceVelocityCurve`) #836

Open mrrezaie opened 3 months ago

mrrezaie commented 3 months ago

Hi,

First of all, thank you so much for developing such an amazing software.

In Properties window, I couldn't find a way to change the properties of muscle curves such as ActiveForceLengthCurve and others in a model with Millard2012EquilibriumMuscle, e.g., Rajagopal. I was wondering if this feature is available. image

OC 0.5.8

Thank you.

adamkewley commented 3 months ago

Hi @mrrezaie , thanks for your praise!

The curves aren't currently edit-able in the UI because it seemed likely that it would require a custom UI (e.g. to select function shape, place spline points, change params, etc.), but it's something that's obviously a UX gap that we need to bridge with a custom UI eventually :wink:

For now, unfortunately, the best that you can do in OSC 0.5.8 (or newer) is to open the osim in OSC and then edit the curves in raw XML (perhaps I should at least provide a raw XML editor in-UI for stuff like this, but that's another feature :-))

mrrezaie commented 3 months ago

I appreciate the time and endeavor you put on this.