Hi, I have made a tool to trace over another mesh, with the option to continue on that start_mesh later on.
It’s quite simple and uses the points to make a mesh patch with the command patch=Rhino.Geometry.Mesh.CreatePatch(OuterPolyLine,tol,None,innerBoundaryCurves,innerBothSideCurves,InnerPts,Trimback,Divisions)
Right now I generate a new mesh and delete the old for every step, but I would like to replace the start_mesh instead, so it keeps it’s properties, but I seem to have a problem.
I traceMesh = rs.coercemesh(mesh_id) and read out the vertices for the new mesh to start with, but when I try to replace the traceMesh.Vertices = patch.Vertices I get this error:
Message: can’t assign to read-only property Vertices of type 'Mesh’
What do I have to do to the coerced mesh to be able to replace the vertice list?
I will do the same with the face list too of course.