I’m all new to the topic of scripting in rhino. So excuse my very basic questions.
if i want to divide a curve into “x” segments, how can i access the points afterwards?
i want to access them, each of them being be the starting point of another event…
code should look like this:
import rhinoscriptsyntax as rs
#draws simple circle
def draw_circle(center, radius):
circle = rs.AddCircle(center, radius)
“”“divide circle and take the new divisionalpoints as center for new circles with half of the last circle’s radius”""
def divide_circle(center, radius, division):
#draws 1st circle
circle = draw_circle(center, radius)
#divides circle into “division” segments
divcircle = rs.DivideCurve(circle, division, False, True)
#takes last radius and divides it by 2
radius = radius/2
#sets the division points of circle as new center
#?? center = divcircle ?? how can i access the points??