Grasshopper

algorithmic modeling for Rhino

Hi,


I already found the thread interpCrv, which is exactly my problem. unfortunately i can not use a vb script, i´d rather need to use the rs.AddInterpCurve in a python script. Does anybody know how it works? when i use the AddInterpCurve command with the knot style option set to chord:

rs.AddInterpCurve(pointList, degree=3, knotstyle=1)

i get the following message:

Runtime error (TypeErrorException): Cannot convert numeric value 1 to CurveKnotStyle.  The value must be zero.

 

rs.AddInterpCurve(pointList, degree=3, knotstyle=0)

 

works fine. Hope anybody can help...

Views: 510

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service