Grasshopper

algorithmic modeling for Rhino

pick all cells closest to eachother without beeing neighbors or sharing the same neighbors

Hello guys, im a little confused and dont get it how i can make a list with cells which are the closest to eachother withouht beeing neighbors or share the same neighbors.

i need a definition that works in grasshopper so that i can change the amount of cells. here is an example but only in rhino in small grid, picked manually.

I need it to work as fast as possible beacuse i need it for my seminar till monday.

Views: 2645

Replies to This Discussion

Hello Guys,

I could cull the adjecent surfaces of one specific and could get the closest surface of the culed list. And wth hoopsnake i could repeat my definition, but after a few steps Hoopsnake start to take adjacent and the same surfaces which were culled. Whats wrong in my definition.  

I tried something the last two days and come so far. 

Please help me

Attachments:

I think this is probably something the SpiderWeb plug-in could do for you as its very much in the realms or Graph Theory. There is a Graph Colouring component which achieves the same end result as what you are asking. Once you have the cells colour you can find out which is which etc.

I can not test this theory for you at the moment... if at all. So I would suggest a question in the Group section for spiderweb same link as above

Hmm, yes It should solve it but as for this discussion:

http://www.grasshopper3d.com/group/spiderweb/forum/topics/spiderweb4-1

The error is still not fixed in any release. (banana release, sorry)

What you could do is download the old Version of SpiderWeb(3.2) from here:

http://www.gbl.tuwien.ac.at/Archiv/digital.html?name=SpiderWeb_3.2.

You can directly input the outcome form the delauny edges component (C) as Graph into the GraphColoring Component. 

Richard

ok thank you guys,

i'll try it.

Cuold you give me a little inroduction of spiderweb, cause its first time im using it and dont really know ho w to work with it. i used the delaunay component and gets a line structure but dont know how to go further.

I don't really get what you are trying to do. Are you trying to select some specific surface and gather the closest surfaces to it? Or do you mean the closest surface to every surface? 

i want surfaces as much as possible which are no neighbors to each other. Thats why i want to find the closest surfaces.

Sorry for my bad english...

i thought if i can get the definition to work i could run it from an specific surface with galapagos to get the best result with the most surfaces available.

But if theres another solution i could forget about galapagos :D

Thats how i want it. The surfaces were choosen manually. No Surface is a neighbor. but i cant get it Grasshopper.

hello

maybe its possible to have the following iteration

you can use the brep topology component to find the neighbors of a face, cull them, then from remaining face find the neighbors of another face, cull them etc.

you're a genius it works perfectly.

Thank you so much!!!

May be you could help me with my next problem. based on that definition...

I projected the selected surfaces to a sphere and splitted the sphere in two surfaces. Now i want to create an polysurface based on the projected surfaces and the culled voronoi-surfaces in the first step. Can i move the edges of the culled voronoi-surfaces which were pairing with the selected ones to the  projected ones? Like if i had move the edge and the surfaces are following like ModeEdge in rhino... So i could generate a polysurface. Like if i would throw a fabric over some objects and i would hanging down where othing is.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service