RhinoCommon: Equivalent of Weld Mesh Edge / Unweld Mesh Edge

Hi guys,

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

Thanks,
Dmitriy

Also useful in this context:

// Rolf

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

Thanks,
Dmitriy

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

// Rolf

No prob. :slight_smile:
I have found this code from @dale How do you identify hard (faceted) edges in an ON_Mesh? but it is only checking if edge is unwelded and provided link is not working…

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

Solved!

1 Like

Yes And
_UnweldEdge
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_UnweldEdge.htm

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?