|
| 1 | +# Collision Algorithm for Needle Insertion - SOFA Plugin |
| 2 | + |
| 3 | +[](https://github.com/sofa-framework/sofa/discussions/) |
| 4 | +[](https://discord.gg/G63t3a8Ra6) |
| 5 | +[](https://infinytech3d.com/) |
| 6 | +[](https://github.com/sponsors/InfinyTech3D) |
| 7 | + |
1 | 8 | ## Description |
2 | | -This is a SOFA plugin (https://github.com/sofa-framework/sofa) that provides a customized collision pipeline, specifically designed to support needle insertion simulations. |
3 | | -Works in conjunction with https://github.com/InfinyTech3D/ConstraintGeometry. |
| 9 | +This is a SOFA plugin (https://github.com/sofa-framework/sofa) that provides a customized collision pipeline, tailored for needle insertion simulations. |
| 10 | + |
| 11 | +## Installation and Setup |
| 12 | + |
| 13 | +Official documentation on installing a SOFA plugin from source and setting up the external_directories folder: |
| 14 | +https://sofa-framework.github.io/doc/plugins/build-a-plugin-from-sources/ |
| 15 | + |
| 16 | +# Build Steps |
| 17 | + |
| 18 | +- Clone this repository into your SOFA external_directories folder: |
| 19 | + - git clone https://github.com/InfinyTech3D/CollisionAlgorithm.git |
| 20 | +- Register the path to the `CollisionAlgorithm` plugin repository in the CMakeLists.txt file of your external_directories folder |
| 21 | +- Set SOFA_EXTERNAL_DIRECTORIES variable (preferably using CMake GUI) to point to your external_directories folder |
| 22 | +- Configure and generate the SOFA solution using CMake |
| 23 | +- Compile SOFA solution (the plugin will be compiled as well) |
| 24 | + |
| 25 | +## Architecture |
| 26 | + |
| 27 | +- doc: |
| 28 | + - Documentation and screenshots of the exampples |
| 29 | +- scenes: |
| 30 | + - Various simple demo scenes |
| 31 | +- src/CollisionAlgorithm: |
| 32 | + - source code of the insertion algorithm SOFA component and supporting collision pipeline classes |
| 33 | +- regression: |
| 34 | + - Files for automated regression testing in alignement with SOFA's testing framework |
4 | 35 |
|
5 | 36 | ## Acknowledgments |
6 | 37 | This project builds upon the original repository from [ICube Laboratory, University of Strasbourg](https://icube.unistra.fr/en/) and extends it with a needle insertion algorithm and additional functionality. |
0 commit comments