# RhinoCommon: Equivalent of Weld Mesh Edge / Unweld Mesh Edge

**URL:** <https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127>\
**Category:** Rhino Developer\
**Created:** [November 20, 2018, 11:32pm UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127 "2018-11-20T23:32:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitriy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dmitriy/32/764664_2.png) [@Dmitriy](https://discourse.mcneel.com/u/Dmitriy)\
**Post date:** [November 20, 2018, 11:32pm UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/1 "2018-11-20T23:32:02Z")

</div>

Hi guys,

As header states - trying to find out how can I make mesh edge welded/unwelded as equivalent to Rhino Command.

Thanks,  
Dmitriy

---

<div class="post-metadata">

**Author:** ![RIL](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ril/32/768639_2.png) [@RIL](https://discourse.mcneel.com/u/RIL)\
**Post date:** [November 21, 2018, 3:38am UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/2 "2018-11-21T03:38:07Z")

</div>

- [Mesh.Weld](https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_Weld.htm)
- [Mesh.Unweld](https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_Unweld.htm)

Also useful in this context:

- [Mesh.ExplodeAtUnweldedEdges](https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_ExplodeAtUnweldedEdges.htm)

// Rolf

---

<div class="post-metadata">

**Author:** ![Dmitriy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dmitriy/32/764664_2.png) [@Dmitriy](https://discourse.mcneel.com/u/Dmitriy)\
**Post date:** [November 21, 2018, 8:14am UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/3 "2018-11-21T08:14:16Z")

</div>

Hello @RIL

Thanks, but this is method for complete mesh, right?  
I am looking for a way to select exact edges like in Rhino command:

![image](https://global.discourse-cdn.com/mcneel/original/3X/5/8/581f03e638899e234eeab45d2f53c99089ae2899.png)

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/7/a/7adcdbe0723609513af80abea31156b7dff3cfe6.png)

Thanks,  
Dmitriy

---

<div class="post-metadata">

**Author:** ![RIL](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ril/32/768639_2.png) [@RIL](https://discourse.mcneel.com/u/RIL)\
**Post date:** [November 21, 2018, 8:17am UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/4 "2018-11-21T08:17:53Z")

</div>

> [@Dmitriy](#):
>
> this is method for complete mesh, right?

Ah, yes. Sorry, didn’t read carefully enough.

// Rolf

---

<div class="post-metadata">

**Author:** ![Dmitriy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dmitriy/32/764664_2.png) [@Dmitriy](https://discourse.mcneel.com/u/Dmitriy)\
**Post date:** [November 21, 2018, 8:44am UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/5 "2018-11-21T08:44:36Z")

</div>

No prob. 🙂  
I have found this code from @dale [How do you identify hard (faceted) edges in an ON\_Mesh?](https://discourse.mcneel.com/t/how-do-you-identify-hard-faceted-edges-in-an-on-mesh/20161) but it is only checking if edge is unwelded and provided link is not working…

---

<div class="post-metadata">

**Author:** ![Dmitriy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dmitriy/32/764664_2.png) [@Dmitriy](https://discourse.mcneel.com/u/Dmitriy)\
**Post date:** [November 21, 2018, 9:13am UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/6 "2018-11-21T09:13:22Z")

</div>

Found now this method: `Mesh.UnweldEdge`  
Not sure why I was not able to find it before. 🙂

Solved!

---

<div class="post-metadata">

**Author:** ![AlanMattano](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/alanmattano/32/483292_2.png) [@AlanMattano](https://discourse.mcneel.com/u/AlanMattano)\
**Post date:** [May 1, 2020, 3:26pm UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/7 "2020-05-01T15:26:45Z")

</div>

Yes And  
`_UnweldEdge`  
[https://developer.rhino3d.com/api/RhinoCommon/html/M\_Rhino\_Geometry\_Mesh\_UnweldEdge.htm](https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_UnweldEdge.htm)

---

<div class="post-metadata">

**Author:** ![Calcman](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/calcman/32/483097_2.png) [@Calcman](https://discourse.mcneel.com/u/Calcman)\
**Post date:** [August 6, 2024, 6:21pm UTC](https://discourse.mcneel.com/t/rhinocommon-equivalent-of-weld-mesh-edge-unweld-mesh-edge/75127/8 "2024-08-06T18:21:57Z")

</div>

Hi Dmitriy, did you set up a script to unweld a mesh at chosen edges? If so, do you still have it at hand and can you share it with me?
