Grasshopper

algorithmic modeling for Rhino

Hi all,

I'm tryin to do a simple exercise where once I have a list of points "a" I want to feed the rs.addSphere with it as centers.

The thing is that it says that it can't convert [] to planes (or points I assume)

with addPolyline or addInterpCurve it do works, thou

But if I pull "sph= rs.addSpehere (a, rd)" to a separate script using the outputted "a" list as input it does recognize it

so i'm a bit confused (obviously because I'm a plain begginer)

Should I use Rhino common to identify the data in "a" as geometry.poin? if so...how can I do it, i've tried but no results (lack of knowledge anyways)

Thanks in advance

Views: 953

Replies to This Discussion

Hi Roig,

I think the problem is with feeding a list where a single point is expected. However, the only way to tell is if you provide the definition to play with, so that I wouldn't have to re-type it all. See more on asking.

Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service