generative modeling for Rhino
Permalink Reply by fernando molas garcia on April 20, 2012 at 6:26pm 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)
Permalink Reply by fernando molas garcia on April 21, 2012 at 12:48pm Thanks Steve, but I can not understand your idea.
Could you attach uqe correct definition?
thanks!

Sure, here ya go
Permalink Reply by fernando molas garcia on April 22, 2012 at 12:42pm I could not have devised a long python me! thanks
Permalink Reply by fernando molas garcia on April 22, 2012 at 1:57pm
© 2013 Created by Scott Davidson.
Powered by