# Merging Edge Geometry

**URL:** <https://discourse.threejs.org/t/merging-edge-geometry/62778>\
**Category:** Questions\
**Tags:** edgesgeometry, geometry\
**Created:** [March 14, 2024, 9:29am UTC](https://discourse.threejs.org/t/merging-edge-geometry/62778 "2024-03-14T09:29:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmb](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@bmb](https://discourse.threejs.org/u/bmb)\
**Post date:** [March 14, 2024, 9:29am UTC](https://discourse.threejs.org/t/merging-edge-geometry/62778/1 "2024-03-14T09:29:01Z")

</div>

I have a few meshes that are split by faces, this cannot be avoided. So take this cube as an example

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/7/2/7245565e07eda17769f57f57b0f8cb9740784b2b.jpeg)

I want to show edges so planned on using EdgesGeometry. Since it is not a single mesh, but rather a lot of meshes I will end up with edges duplicated. So the highlighted edge, there would be two, one on top of the other, on for face A and once for face B. This would occur all over. Is there a way to merge all the edges into a single mesh removing the duplicates?

---

<div class="post-metadata">

**Author:** ![user123](https://avatars.discourse-cdn.com/v4/letter/u/ed655f/32.png) [@user123](https://discourse.threejs.org/u/user123)\
**Post date:** [June 7, 2024, 8:43am UTC](https://discourse.threejs.org/t/merging-edge-geometry/62778/2 "2024-06-07T08:43:42Z")

</div>

Did you get anywhere with this?

---

<div class="post-metadata">

**Author:** ![bmb](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@bmb](https://discourse.threejs.org/u/bmb)\
**Post date:** [June 9, 2024, 6:09pm UTC](https://discourse.threejs.org/t/merging-edge-geometry/62778/3 "2024-06-09T18:09:23Z")

</div>

Unfortunatley not sorry
