Skip to content

Commit 06110ab

Browse files
committed
more doc
1 parent 730d28d commit 06110ab

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,35 @@ This is a SOFA plugin (https://github.com/sofa-framework/sofa) that provides a c
1010

1111
## Installation and Setup
1212

13-
Official documentation on installing a SOFA plugin from source and setting up the external_directories folder:
13+
Official SOFA doc for building external plugins and setting up an `external_directories` folder:
1414
https://sofa-framework.github.io/doc/plugins/build-a-plugin-from-sources/
1515

16-
# Build Steps
16+
### Build Steps
17+
1718

1819
- Clone this repository into your SOFA external_directories folder:
1920
- 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+
- Register the path to your local `CollisionAlgorithm` repository in the CMakeLists.txt file of your external_directories folder
22+
`sofa_add_subdirectory(plugin CollisionAlgorithm CollisionAlgorithm)`
2123
- Set SOFA_EXTERNAL_DIRECTORIES variable (preferably using CMake GUI) to point to your external_directories folder
2224
- Configure and generate the SOFA solution using CMake
2325
- Compile SOFA solution (the plugin will be compiled as well)
2426

27+
>![NOTE]
28+
> In order to use the plugin, make sure that you have also built the `ConstraintGeometry` plugin.
29+
30+
Supported SOFA versions: > v25.06
31+
2532
## Architecture
2633

2734
- doc:
28-
- Documentation and screenshots of the exampples
35+
- Documentation and screenshots of the examples
2936
- scenes:
3037
- Various simple demo scenes
3138
- src/CollisionAlgorithm:
3239
- source code of the insertion algorithm SOFA component and supporting collision pipeline classes
3340
- regression:
34-
- Files for automated regression testing in alignement with SOFA's testing framework
41+
- Files for automated regression testing in alignment with SOFA's testing framework
3542

3643
## Acknowledgments
3744
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

Comments
 (0)