# set EdgeVisibilityOn when draw VTK\_HEXAHEDRON

**URL:** https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932
**Category:** Development
**Created:** [October 22, 2021, 8:11am UTC](https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932 "2021-10-22T08:11:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ren](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ed655f/32.png) [@Ren](https://discourse.vtk.org/u/Ren)
#### Post date: [October 22, 2021, 8:11am UTC](https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932/1 "2021-10-22T08:11:22Z")

</div>

I have a question about EdgeVisibilityOn when draw VTK\_HEXAHEDRON, why a little edge will be show in the picture? In SetRepresentationToSurface mode, the small edge should be hide.

 ![edge](https://discourse.vtk.org/uploads/default/original/2X/f/fa27cf3a245b93557aa4eeb9f8aa882ec407ceb9.png)

---

<div class="post-metadata">

### Author: ![andreasbuykx](https://discourse.vtk.org/user_avatar/discourse.vtk.org/andreasbuykx/32/8137_2.png) [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)
#### Post date: [October 23, 2021, 2:47pm UTC](https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932/2 "2021-10-23T14:47:07Z")

</div>

This looks like the rendering artifacts that can occur when using coincident topology resolution parameters (see e.g. [https://gitlab.kitware.com/vtk/vtk/-/issues/17936](https://gitlab.kitware.com/vtk/vtk/-/issues/17936)).

---

<div class="post-metadata">

### Author: ![Ren](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ed655f/32.png) [@Ren](https://discourse.vtk.org/u/Ren)
#### Post date: [October 25, 2021, 2:35am UTC](https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932/3 "2021-10-25T02:35:07Z")

</div>

Thanks you Andreas, SetRelativeCoincidentTopologyLineOffsetParameters can solve the problem
