Occurrence:
A problem has occurred during CSG. Vertex should have a unique key.
Failure Location:
"locations will display"
Resolution:
CSG errors are caused when Leapfrog can't compute a closed, consistent (no self-intersections), manifold (can tell inside from outside) mesh. This happens from time to time with complex inputs, or if you're building a model from inputs with different resolutions (e.g. a mesh with a resolution of 50 used inside a model with a resolution of 20). The best way to fix them is generally one of the following:
1) Turn adaptive resolution on/off (i.e. whichever one it currently isn't).
2) Change the resolution of the surface by a small amount. Often +/- 0.1-0.5 is enough.
3) Enable merged output volumes (double-click the Geological model, in the General tab) <- if it's a merged volume.
4) Change the "Snap to data" option (or Max snap distance if it's enabled) in the model's General tab.
5) Ensure there are no duplicate data points used as values, extents, or intervals.
If you've tried to adjust the settings above and are consistently generating this error, please let us know and we will book in some time to look at your project with you either through a screen share or by sending us a copy of the model if you prefer.
Notes:
This guide provides steps that generally resolve the issue. If above steps don't work then we will need to investigate further by either screenshare or reviewing a copy of the model.