Grasshopper

algorithmic modeling for Rhino

is there a function for the math logic of "probability" like "C"??

for instance
if i have a bunch of pionts, say "4", i want the connection of them without getting connections within the same 2 points.
the answer should be (4X3) / (1X2).

but with the built-in Line function, grasshopper connects point 1 among the 4 to the rest 3 and then go on connecting point to the rest 3 and so on till the end.
therefor i will get 16 connections(althought there will be 4 invalid lines)

how do i get all the connections between the 4 points with only 1 connection between the same 2 points??

Views: 511

Comment

You need to be a member of Grasshopper to add comments!

Comment by Kai-Yu Yu on March 2, 2010 at 4:28pm
thank you very much Daniel.
it's very good to know there is such a plug-in
now it's way easier to approach what i wanna make.
i will keep on exploring Grasshopper.
thank you again.
Comment by Daniel Piker on March 2, 2010 at 4:07pm
It sounds like maybe one of the components that I posted here might be useful to you.

That is specific to drawing straight lines between points, but the same logic could be used for any other function.
I described later in that thread the idea of having this as a 4th type of data matching for general components, yet to hear David's thoughts on the matter though.

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service