Grasshopper

algorithmic modeling for Rhino

hey there!
I'm trying to set up a fractal-like recursive function in rhinoscript. there it works fine!
but when i try to set it up in GH with slider-inputs for my parameters, i don't get any visible output. i guess that there is only one simple line of code to add to my script, but since I'm all new to GH python i don't konw it yet!
please help


Views: 324

Attachments:

Replies to This Discussion

Hi maxk,

You did not call your function, you used "n" instead of "loop". Also when using rhinoscriptsyntax functions set your input Type Hint to "ghdoc object".
Also it is always a better solution to add your geometry to a list(for example list "lines") then reference that list to the ouputs parameter (a = lines) instead of using all document's geometry (a = ghdoc.Objects.Geometries).

Attachments:

perfect, thank you!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service