AddBiomechanics icon indicating copy to clipboard operation
AddBiomechanics copied to clipboard

Support models with custom geometry files

Open nickbianco opened this issue 1 year ago • 3 comments
trafficstars

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.

nickbianco avatar May 29 '24 22:05 nickbianco

Following for my personal interest

davidpagnon avatar May 30 '24 07:05 davidpagnon

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.

Image

AlbertoCasasOrtiz avatar May 01 '25 19:05 AlbertoCasasOrtiz

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.

nickbianco avatar May 01 '25 20:05 nickbianco