Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5854

Rhino python interpolate curve question

$
0
0

@k.prapasri.megan wrote:

Hi, I’m trying to create an interpolate curve through a set points which I also scripted in python.
import rhinoscriptsyntax as rs
from math import*
for i in range (0,100):
rs.AddPoints([(sin(i)*3),i,(cos(i)*3)])


I tried to referencing these points as
points = rs.AddPoints([(sin(i)*3),i,(cos(i)*3)])
rs.AddInterpCurve(points, degree=3)
,but it gives me error. How should I fix this?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5854

Latest Images

Trending Articles



Latest Images