AddBiomechanics
AddBiomechanics copied to clipboard
Support models with custom geometry files
Currently, we expect that uploaded models use geometry files that are included in the Geometry folder used internally by AddBiomechanics. However, a user might have a model with different geometry files.
We can test all types of geometry files, but we could at least provide an option and tell users that YMMV.
Following for my personal interest
Related to this. In the case a geometry file is missing, users are not getting useful feedback indicating this is the case. Example below using OpenCap ISB shoulder. Error message is "-", and you have to check the logs to know what may be happening, which may be cryptic for users.
I think this might be as straight-forward as adding the geometry files here: https://github.com/keenon/AddBiomechanics/tree/main/server/engine/Geometry
Then it's just a matter of figuring out how to retrieve user's model-specific geometry files and adding them to this folder during processing.