generative modeling for Rhino
I want to get the distances to the centers of the circles
I'm trying to do in Python this definition of GH
Here's a short solution using list comprehension. You have to change m to be set to "Item Access".
import rhinoscriptsyntax as rs
# create list of center points from list of circles
centers = [rs.CircleCenterPoint(pM) for pM in M]
d = rs.Distance(m, centers)
Thanks Steve, but I can not understand your idea.
Could you attach uqe correct definition?
Sure, here ya go
I could not have devised a long python me! thanks