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: examples/README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,19 @@
2
2
3
3
This directory contains a few examples showing different ways of using CADMesh in your Geant4 simulations.
4
4
5
+
To run a example, change to its directory, and do the following:
6
+
7
+
```
8
+
cd basic/
9
+
mkdir build/
10
+
cd build/
11
+
cmake ..
12
+
make
13
+
./basic # or ./external or ./tetrahedral
14
+
```
15
+
16
+
Make sure to run the binary in the build directory, as the required mesh files are copied there automatically.
17
+
5
18
# Basic
6
19
Load PLY, STL, and OBJ files into your detector construction using the CADMesh built in readers. There are no dependencies to install. All you need is `CADMesh.hh`.
0 commit comments