# Overlaps in GDML from CAD: how bad?

**URL:** <https://geant4-forum.web.cern.ch/t/overlaps-in-gdml-from-cad-how-bad/10370>\
**Category:** Geometry, Fields and Transportation\
**Created:** [April 3, 2023, 4:29pm UTC](https://geant4-forum.web.cern.ch/t/overlaps-in-gdml-from-cad-how-bad/10370 "2023-04-03T16:29:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![weller](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/weller/32/3357_2.png) [@weller](https://geant4-forum.web.cern.ch/u/weller)\
**Post date:** [April 5, 2023, 6:37pm UTC](https://geant4-forum.web.cern.ch/t/overlaps-in-gdml-from-cad-how-bad/10370/7 "2023-04-05T18:37:15Z")

</div>

you could shrink the CAD in that sense that you subtract 10nm times the normal vector of each facet from each vertex of that facet (assuming that 10nm is much smaller than the distance between vertices.

or you could try this: [Imported .stl files creating stuck tracks - #4 by weller](https://geant4-forum.web.cern.ch/t/imported-stl-files-creating-stuck-tracks/10184/4)  
in case it is degenerate triangles and not actual overlap

---

_[View the full topic](https://geant4-forum.web.cern.ch/t/overlaps-in-gdml-from-cad-how-bad/10370)._
