christopherpoole/CADMesh

"Facet is too small or too narrow."

ggalgoczi opened this issue · 0 comments

Trying to import a very detailed model. The sides of the facets are in the order of micrometer. I keep getting the following warning / error message and my model is not imported correctly. The SurfaceTolerance is in the order of 0.001 nm in G4 by default, so this should not be an issue.

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomSolids1001
issued by : G4TriangularFacet::G4TriangularFacet()
Facet is too small or too narrow.
Triangle area = 0
P0 = (-3.1e-05,0,-3.7e-05)
P1 = (-3.1e-05,0,-3.7e-05)
P2 = (-3.1e-05,0,-3.7e-05)
Side1 length (P0->P1) = 0
Side2 length (P1->P2) = 0
Side3 length (P2->P0) = 0