generative modeling for Rhino
Tags:
Permalink Reply by Danny Boyes on December 13, 2011 at 8:33am
Permalink Reply by ANGELOS on December 13, 2011 at 8:36am thanks,...and sorry for asking banal questions;;;
http://www.grasshopper3d.com/forum/topics/closest-point-within-a-si...
Permalink Reply by Danny Boyes on December 13, 2011 at 8:42am With GH it's quite often the case that you won't know until you ask the question. One of my first questions was to ask for a component that you can display the output of components in on screen, without realising that the Panel (then called Post-It) had an input just for that scenario and wasn't just for writing notes. Weeks went by without anyone taking the courtesy to set me straight. :(
Permalink Reply by ANGELOS on December 13, 2011 at 8:49am yah I see :(.
hm next thing is to find the actually (100 points = 50 lines) 50 minima which are not connected on with the other.
Is there a setting in the 3D proximity component?
Permalink Reply by Danny Boyes on December 13, 2011 at 8:58am You can use [Create Set] to get the list of indices needed. But 50 lines is ambitious.
If you have 4 points in a straight line where A is closest to B and B is closest to C and C is closest to D means there is only one duplication of D is closest to C and not B to A Therefore there are three unique lines not two
Permalink Reply by ANGELOS on December 13, 2011 at 9:07am Ok, got this one too,
but how can I create from a set of 100 pts 50 lines, which are not connected oneanother, like: take a point and find out of the 99 the closest, then take the next pt and choose from the remaining 97, etc.?

That is very difficult. You might be able to do it using the HoopSnake plug-in, but I don't know it well enough to make you an example.
This incidentally is quite easy using VB/C# scripting, see attached.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by ANGELOS on December 13, 2011 at 9:44am Hi,
I wish I could get once into that scripting thing,
I´m getting more and more curious about it
(besides wishing I´d had a rabbit in the hat),
actually I don´t want a continous polyline, since the closest point to the very first would be removed from the list, so the initial list reduces from 100 to 98. From the 98 i pick one and search the remaining 97 for the closest. From the remaining 96 i pick again one and search in the 95,...
(The product I want to result is:
having a number of random lines in 3D space, produced by an even number of points as discribed, this shall be the initial springs for a ("selfadjusting") tensegrity. Each one of these lines (later springs in kangaroo) get divided in three areas - that means four points. These four points again are the "attractor points" of neighbor springs, so the strut "knows" where to set the next elastic connection,...the rest I´ll have to figure out)
angelos
Permalink Reply by Danny Boyes on December 13, 2011 at 9:57am Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by