import rhinoscriptsyntax as rs
for z in rs.frange(0,30,3.5):
p=rs.AddPoint(0,0,z)
curve=rs.AddCircle(p,10)
if curve:
points=rs.DivideCurve(curve,12)
for point in points:
rs.AddPoint(point)
rs.DeleteObjects(p)
import rhinoscriptsyntax as rs
for z in rs.frange(0,30,3.5):
p=rs.AddPoint(0,0,z)
curve=rs.AddCircle(p,10)
if curve:
points=rs.DivideCurve(curve,12,True)
rs.DeleteObject(p)
你得代码可以像这样改下