Architecture » Historie » Revize 4
« Předchozí |
Revize 4/6
(rozdíl)
| Další »
Václav Šíma, 2023-04-23 09:31
Muscle Wrapping 2.0¶
Muscle Wrapping 2.0 is a project that aims to develop OpenSim(https://simtk.org/projects/opensim) compatible models and methods for wrapping the muscles, represented by their triangular surface models, around the moving bones and decomposing the output muscles into mechanical lines of action for consequent biomechanical analyses.
Overview¶
Project currently contains two main applications (OsimMuscleGeneratorTool, a plugin for OpenSim 4.0 software, and AttachmentEstimation, a tool for estimating the attachments of muscles on the bones), several examples and tests, and cadaver data for experimenting. The software architecture is schematically illustrated in the following figure.
Using OsimMuscleGeneratorTool¶
OsimMuscleGeneratorTool is a plugin for OpenSim 4.0. Taking an OpenSim musculoskeletal model and motion data as an input, it generates an arbitrary number of lines of action (fibres) composed of a user-defined number of straight-line segments for each skeletal muscle having known surface geometry and attachment areas. The outputs are the fibre lengths and moment arms for corresponding coordinates (changing according to the motion). Optionally, the plugin produces an OpenSim model in which the fibres are represented as actuators with predefined geometry paths.
The plugin is used from the command line as:
opensim-cmd.exe -L "OsimMuscleGeneratorTool.dll" run-tool setup_muscleGeneratorTool.xml
where setup muscleGeneratorTool.xml is the file containing the configuration of the plugin. Please make sure that the configuration, the plugin and all its dependencies are on path, or specify full paths.
e.g. - C:\Work\setup_muscleGeneratorTool.xml
The syntax of the plugin configuration file is visible in example present in Data folder. A short overview is also visible on(https://www.youtube.com/watch?v=BW_jjCcbf5o).
Build¶
Application build is described in detail here Build
Aktualizováno uživatelem Václav Šíma před téměř 2 roky(ů) · 4 revizí