Révision 2 README.txt

README.txt (revision 2)
4 4
It is a simulated Atomic Force Microscope acting on a plane.
5 5

  
6 6
To get an idea of the scene, you can launch Sofa on the example examples/plane.py. The scene appearing should be like the image plane.png and gives you an overview of the scene described.
7
Then to use the AFM and trace curves, simply install the folder as a SOFA plugin. Go to the examples folder and launch the application called AFM which should be under "YourPathToSofa/build_release/bin/AFM". You should get a resulting curve called AFM-results.txt, where, for each line, the force and the corresponding depth is written.
7
Then to use the AFM and trace curves, simply install the folder as a SOFA plugin under the name "AFM_plane" (*** the name is important ***). Go to the examples folder and launch the application called AFM which should be under "YourPathToSofa/build_release/bin/AFM". You should get a resulting curve called AFM-results.txt, where, for each line, the force and the corresponding depth is written.
8 8
Feel free to change the parameters : pressure, elastic modulus, poisson ratio... 
9 9

  
10 10
If Sofa does not find the path to the plugin when you launch the AFM application, you may have to change the paths in the file AFM/AFM.cpp line 112 and eventually line 129. 

Formats disponibles : Unified diff