Skip to content

Commit

Permalink
Added instructions for building and running the examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpoole committed Apr 5, 2020
1 parent 2820632 commit c79e292
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

This directory contains a few examples showing different ways of using CADMesh in your Geant4 simulations.

To run a example, change to its directory, and do the following:

```
cd basic/
mkdir build/
cd build/
cmake ..
make
./basic # or ./external or ./tetrahedral
```

Make sure to run the binary in the build directory, as the required mesh files are copied there automatically.

# Basic
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`.

Expand Down

0 comments on commit c79e292

Please sign in to comment.