ge curves. The source code is available as usual on GitHub, https://github.com/mcneeleurope/ShortestWalk.
Here some examples of walks on predefined and custom grids.
With equilateral grids (1, 2, 3), the shortest walk on the network is the same both counting the edge length and the number of links. With these types of grids, there are often several solutions, one of which is selected by the ShortestWalk component. If the automatic search is used (no lengths are specified), then the A* algorithm is used and this will result in a path that departs "not much" (there are more rigorous definitions) from the straight path.
With the square grid (2), the geometry is called taxicab or Manhattan, and results in the total distance being the sum between the number of vertical steps and the number of horizontal steps.
The circular grid (4, 6) shows a case in which curve distance and "link distance" (number of edges that are walked, uses Dijkstra's algorithm) results is completely different paths. This example here selects the tangential road (4) or the "city center" (6).
Finally, Voronoi diagrams (5), Delauney triangulations (7) and random mazes or labyrinths (8) can be walked, searched and solved quickly, if a solution is possible, now even if there are multiple overlapping curves.
These examples show two-dimensional grids, but it is possible to also compute (weighted) walks on three-dimensional networks.
The compiled Grasshopper assembly (.gha) and the examples can be downloaded from Food4Rhino. Join the group if you want to get updates for new releases.
- Giulio________________
giulio@mcneel.comMcNeel Europe, Barcelona…
seconds to pop up the new one*.
I also made it so that there's a maximum of 500 files in the cache. It is after all a 'oh-crap-I-just-lost-an-hour-of-work!' protection, not a 'hmm,-I-seem-to-have-lost-an-hour-of-work-last-month' kind of feature.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
* which is just weird. How come some Schmuck in Slovakia can put a menu on the screen with timeline, icons, hatches and shadow edges 100 times faster than the native Windows solution? Is it just me or is there something very wrong here?…
v.0.1.00 contains 6 new components that could produce multiple Cellular Automata variations such as: 2X2, 34 Life, Amoeba, Assimilation, Coagulations, Conway’s Life(ghx included), Coral, Day&Night, Diamoeba, Flakes, Gnarl, HighLife, InverseLife, Long life, Maze, Mazectric, Move, Pseudo life, Replicator, Seeds (2), Stains, WalledCities…. The first release includes also a small list of pre-defined patterns.
This release works with version 0.6.0043 of Grasshopper and is freely distributable package licensed under Creative Commons License.
GET RABBIT HERE!…
Added by Morphocode at 2:00am on November 30, 2009
ction) and apply symmetry at some point. The question is when. I would like to operate a "loft with rails", or a "sweep3". It is really important for me to stay perfectly close to the rails (outlines apex), avoiding having a polysurface or more control points. I need advises and help about the logic and order of construction. How should I tackle the problem ? I can't merge a simple symmetry into a single surface. Is it a question of degree (curves or surface) ? Thank you very much. Best Laurent
…
ssembly 'Pachyderm_Acoustic, Version=2.0.0.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
…
yards have a low betweenness which is not surprising as they are dead ends...
The four crossings at the center show the highest values. I think you have to do two things:
1. Extend the Graph into the surrounding area, at least 1 * Walking distance e.g. 500m, otherwise this will make no sense.
2. Adapt your fitness function, if you are only summing up the total betweenness values a solution with more (much more) courtyards will be better than a solution with less courtyards.
As for Speed:
The only way to speed it up is to use VB/C# Script component. SpiderWeb.dll can be imported. For more information see:
http://www.gbl.tuwien.ac.at/_docs/GrasshopperScriptum/lib/002_SpiderWeb/ScriptSample.html
http://www.gbl.tuwien.ac.at/_docs/SpiderWebLibraryDoc/index.html
…
.. I think I should modify the workflow to collect all the results and then bake them all together so the presentation of the result can be more solid.
2. radiationResult is the amount of radiation for each test point in [kWh/m2]
Note: each test point is the center of a mesh face and the number represents the amount of radiation for per m2 of that mesh face.
totalRadiation is radiationResult for each point [kWh/m2] * area of the face [m2] so it is in [kWh]
As you can see in the image below if you multiply the radiationResult with the area of the faces the result will be equal totalRadiation.
Regards, -Mostapha
…
pper components is using the component menu.
It's a little hard to right click on an input of a component, then find the correct sub-menu, and click on the "input text box" to enter the data.
But It's getting harder when you understand your keyboard is not set on the proper language, and when you press "ALT+Shift" to change your language the menu disappears.
I think this happens hundred times a day for a multi language user.
…
or a couple of thingies.
Pattern.gh
I defined parametrically a triangle which I then smoothed out to become more like a blob shape. After that I created a pretty simple pattern that I had in my mind (costed me a lot of time to make this in GH) and finally wanted to rotate each element as it goes higher . The dispatching part seems to be working pretty slow, so it might need an optimization, but I’m still happy with the result as it shows exactly what I wanted, so this is a minor issue in my case.
I then decided to try tessellating my extrusions. You’ll see the voronoi script which is a blob-group in the same Pattern.gh:
I had an idea of something and started the code from scratch, then decided to watch tutorials and implement the code shown there. I somehow coped to combine my code with this in the tutorials, but since my knowledge of Grasshopper is zero to basic my code seems to be very unoptimized and lagging.. When dragging the sliders, it takes a lot of time to compute the changes, although, I’m working on a 24gigs 6th gen i7 machine. It might also need optimization.
Here comes the first tricky part that I couldn’t sort out in an elegant way neither in Grasshopper nor in Rhino. I want a smooth transition between the wall and the ceiling, so that the voronoi tessellation doesn’t get interrupted. If I was to do it in Rhino I’d make a curve with a filleted edge which I’d then revolve/sweep along a rail.
Pattern.gh:
Second thing is – I’ve defined a shape which I want to rotate at a certain degree as it goes higher, however, I don’t have the knowledge to make this happen automatically and just copy the script over and over again. Is there a chance to somehow “loop” the code and parametrically define the degree of rotation and amount of units in the loop?
Next thing is I want to somehow be able to rotate each “6-storey-building” dependently on its surrounding buildings, so that their “terraces” never overlap. I’m using quotes, since they’re still some silly shapes that have nothing to do with buildings and terraces. The principle has to be something like gear wheels or the so-called rack wheels . There has to be some pace which I could set parametrically, but I’m still unsure how to do that in Grasshopper.
The pre-last thing is that I want to control the height of each “building” based on let’s say a topography. I presume this could be done somehow with height maps or some gradient mapper connected to curvature analysis. Not really sure how something like this would work, but I’ve seen such codes that control height depending on a variable.
The last one is more or less similar to the previous. I want to be able to “dissolve” the pattern that I initially created and make it irregular. I suppose this could be done with attractor curve, but again this is just a guess. Please note that this is a top view and the shapes on the upper-left corner have got more "wings" which means there is more floors in the according building. Let's say the buildings in the upper-left corner are 6-7 floors high, in the middle are 4-5 and to the right they're only 3 floors high.
Sorry for that many questions in a single thread. Please let me know if I have to split them in separate threads. All this information is needed for learning purposes. I’m now preparing myself for my bachelor thesis and try as much things as I could, so that I’ll be ready for the final stage of my bachelor’s degree.
Many thanks in advance! Cheers!…
goal ist to use a component to tell the brick, you either be the same as the 1. selfmade brick or the 2.
to compare those I drew lines from the center point of each surface to their cornerpoints:
Then I took the overall length of all these lines together. and divided the area by this length:
The endpart of the script looks like this:
i'm trying to figure it out with galapagos, it somehow works but it can either make the 1. Equals-component to be true (so every item is true) or the 2. component but i'd like to have a list that for example says: True, True, True, False, True, False, False,...
Thanks for help
…