@obakatsu wrote:
Hi.
I am trying to write script which extract 4 edge corner from mesh file as following.
def topo():
obj=rs.AllObjects(select=True)
line=rs.MeshOutline(obj,view="Top")
points=rs.PolylineVertices(line)
print (len(points))
problem here is that polyline we can extract from mesh include additional control point other than 4 edge corner. Thus, points I got is 136 as shown in following image.Can anyone advise me how to extract 4 edge corner point from mesh file?
Thank you in advance.
Posts: 2
Participants: 2