I’m new in scripting Rhino via Python and I’d like to ask you a question.
I have a problem with Unweld / Weld Mesh, I need to select lot of geometries in Rhino and then with Python script process them all. Scrip works (I mean, it can explode or hide geometries) but when it comes to Unweld mesh it doesn’t do nothing and I don’t know where is the problem
this is my code
import rhinoscriptsyntax as rs import Rhino.Geometry.Mesh as rgm meshObjects = rs.GetObjects("Pick meshes you want to process", rs.filter.mesh) for mesh in meshObjects: rs.SelectObject(mesh) toHide = rs.InvertSelectedObjects() rs.HideObjects(toHide) selMesh = rs.coercemesh(mesh) rgm.Unweld(selMesh, 0, True)
and after that nothing is happening, I can see that Mesh is not unwelded
What am I doing wrong ? thanks ofr any help