You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-25Lines changed: 23 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
# Overview
2
2
3
-
The Muscle Force Direction plugin extends the functionalities of [OpenSim](https://simtk.org/projects/opensim/)by making convenient to extract the muscle lines of action.
4
-
It is provided as a C++ plugin that can be loaded through the main OpenSim user interface or called by MATLAB.
5
-
Leveraging the OpenSim Application Programming Interface (API) it is also provided as MATLAB toolbox.
3
+
The Muscle Force Direction plugin extends the functionalities of [OpenSim](https://simtk.org/projects/opensim/)providing a straighforward interface to extract the muscle lines of action.
4
+
The source code of the plugin is provided in the main repository and a dll that can be loaded through the main OpenSim user interface is available through the `Releases` tab.
5
+
Leveraging the OpenSim Application Programming Interface (API), we also provide MATLAB scripts that replicate the plugin functionalities.
6
6
7
7
# Background
8
8
9
-
If you are using the internal forces estimated by musculoskeletal models as load sets in finite element models you find that you have few options:
9
+
If you are using the internal forces estimated by musculoskeletal models as load sets in finite element models you find that you have few options to compute the direction of each force vector:
10
10
1. use a PointKinematics analysis on the points of interest of your line of action, compute the force versor for the kinematic frame of interest
11
11
2. use the PointForceDirection class and search for the segment of the muscle line of action that you are interested in.
12
12
13
-
The MuscleForceDirection plugin (MFD plugin for short) tries to streamline this operations and make easier to extract muscle forces and apply them to finite element models.
13
+
The `MuscleForceDirection plugin` (`MFD` plugin for short) tries to streamline this operations and make easier to extract muscle forces and apply them to finite element models.
@@ -27,24 +27,26 @@ A typical example is a muscle including _via points_ or _wrapping surface_, for
27
27
Using the plugin setup you can decide:
28
28
1. the body/bodies of interest on which to run the MFD analysis
29
29
2. the reference system in which you want to express the line of actions
30
-
3. choose if you want to extract the "anatomical" lines of action or the effective lines of action.
30
+
3. choose if you want to extract the "anatomical" lines of action or the "effective" lines of action.
31
31
32
32
# Installation
33
33
* For compiling the C++ plugin, follow the instructions available on the [OpenSim Developers' Guide](https://simtk-confluence.stanford.edu/display/OpenSim/Developer%27s+Guide), where you can also find some examples.
34
34
* For installing the MFD plugin for use in the OpenSim GUI follow the same procedure to install other plugins:
35
35
* place the plugin in the `plugins` folder
36
36
* restart OpenSim
37
-
* For using the MATLAB toolbox, include the MATLAB folder in your path.
37
+
* For using the MATLAB scripts (OpenSim version ), you need to:
38
+
* ensure that the OpenSim API are correctly installed. Please refer to the OpenSim [documentation](https://simtk-confluence.stanford.edu/display/OpenSim/Scripting+with+Matlab).
39
+
* include the MATLAB folder in your path.
40
+
* check the provided examples.
38
41
39
-
# Examples of use
42
+
# [WORK IN PROGRESS]Examples of use
40
43
41
44
There will be examples of how to call the plugin from Matlab etc.
42
45
43
46
44
-
45
47
# Publications
46
48
47
-
The plugin was originally described in the Appendix of [this publication](https://github.com/modenaxe/MuscleForceDirection/blob/master/doc/papers/van%20Arkel%20et%20al.%20J%20Orthop%20Res%202013.pdf):
49
+
The plugin was originally described in the Appendix of [this open access publication](https://github.com/modenaxe/MuscleForceDirection/blob/master/doc/papers/van%20Arkel%20et%20al.%20J%20Orthop%20Res%202013.pdf):
48
50
49
51
```bibtex
50
52
@article{van2013hip,
@@ -59,7 +61,7 @@ The plugin was originally described in the Appendix of [this publication](https:
59
61
}
60
62
```
61
63
62
-
A better example of use is however provided [here](https://github.com/modenaxe/MuscleForceDirection/blob/master/doc/papers/Phillips%20et%20al.%20Inter%20Biomech%202015.pdf):
64
+
but a better example of use is provided in this other open access [paper](https://github.com/modenaxe/MuscleForceDirection/blob/master/doc/papers/Phillips%20et%20al.%20Inter%20Biomech%202015.pdf):
63
65
```bibtex
64
66
@article{phillips2015femoral,
65
67
title={Femoral bone mesoscale structural architecture prediction using musculoskeletal and finite element modelling},
@@ -86,22 +88,18 @@ Feel free of contributing as by standard [GitHub workflow](https://guides.github
86
88
* If you want to contribute but you are not familiar with [Git](https://git-scm.com/), the [Software Carpentry Lessons](https://swcarpentry.github.io/git-novice/) are a perfect place to start with Git and GitHub.
87
89
* If you know how to use git but you are not familiar with GitHub, you can check resources like ["First Contributions"](https://github.com/firstcontributions/first-contributions) to learn how to contribute to existing projects.
88
90
89
-
# To Do List
90
-
These are some of the points of development
91
-
92
-
-[ ] make the C++ plugin compatible with OpenSim 4.0
93
-
-[ ] port the scripting toolbox in Python
94
-
-[ ] finalise the Matlab Toolbox
95
-
-[ ] matlab example
96
-
-[ ] implement proper interfaces with the main finite element packages, e.g. Abaqus, Ansys, FEBio.
97
-
98
91
# Additional Resources
99
92
* OpenSim Webinar: ["Interfacing Musculoskeletal and Finite Element Models to Study Bone Structure & Adaptation"](https://www.youtube.com/watch?v=0e6vQV_ioCI)
100
93
* "Dynamic Modeling of Musculoskeletal Motion: A Vectorized Approach for Biomechanical Analysis in Three Dimensions" by G.T. Yamaguchi
101
94
102
95
# Contributors
103
-
In various moments several researchers contributed to the package:
104
-
* Alfred Thibon
105
-
* Friedl De Groote
106
-
* Claudio Pizzolato
107
-
* Ke Song
96
+
Several researchers have contributed to this package:
*[Ke Song](https://github.com/KSongGitHub): Matlab update to OpenSim 4.0
99
+
*[Dimitar Stanev](https://github.com/mitkof6): C++ update to OpenSim 4.0
100
+
*[Claudio Pizzolato](https://github.com/cpizzolato): C++ makefiles
101
+
*[Friedl De Groote](https://github.com/FriedlDeGroote): C++ legacy [version](https://github.com/modenaxe/MuscleForceDirection/tree/master/CPP/legacy_code/OpenSim2.4_KULeuven) of v1.0
0 commit comments