Grasshopper

algorithmic modeling for Rhino

I'm getting 'null' outputs when trying to use Grasshopper components in GHPython. Any ideas?

Example Python script:

import ghpythonlib.components as gh

pointOnCurve = gh.CurveClosestPoint(point,curve)[0]

Screenshot and GH file attached

Views: 1214

Attachments:

Replies to This Discussion

Hi Thomas,
Set your "curve" and "point" inputs to "Curve" and "Point3d" input types (right click on them->Type input").

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service