ing to download your examples but it sends me to the code instead ( I only able to download the rhino files but not the gh) , I just installed the plug in and have been playing with vortex component but not enough control yet, I would like to have water velocity continuity along the river and generate vortex when the field find and obstacle such a pier attach to the river bank.
1.-I am thinking on having 2 lines ( river banks) as input and generator the vector field
2.-Different curves ( polygons) along the river attach to the river bank that create the vortex ( this ones could also be define by the centre of the actual pier as point with certain radius of action.
3.-And finally the z value of the vortex should decrease along the z axis ( surface water vortex bigger,) as tornado
I would like to be able to set points and create or modify the vector field positioning this vortex that its position also should be related with its strength ( as closer to river bank as bigger the force of rotation)
I would appreciate if you can address me to some tutorials related or suggest the workflow
many thanks! …
nually.
Now when I see how short and easy are the codes I want to propose you a wish list of "AA SED programme" so that later students would be able to use your honeybee tool more intensively.
First of all, I want to clarify, what are the pressures when we specify the infiltration. That was still unclear for me as a beginner. Is it m3/m2s at 50Pa or at actual Pascal? If it is at actual Pascal, does that mean we should specify the concext somehow by the input of coefficients or by the actual bRep context or input it from some CFD? What do we do? What do you typically do?
Secondly, I found an idf example which works with material substitution in energy plus example folders. I think this is something what Chris was trying to propose. The code seems short. Can we expect that this feature of material replacement according to the schedule would appear later?
Other passive elements like trombe wall for instance would be appreciated as well.
I see you are now focused more on high/light tech tools, but don't forget about low tech vernacular strategies.
Many thanks again.
…
le with you.
I am trying to achieve the minimal path algorithm of Steiners tree in Python using the minimal path algorithm.The syntax would be as followsFirst I need to create a cube of any dimension.
Then I need to specify one origin say point A and destination point say B.
Now for this point A,B I need to create a machine based network which will automatically enroute A to B.
Where the angle will be constant i.e 120, length can be a variable, triangular node(steiners tree)using these constraints it will create a network.
Now, I should iterate the program in such a way that I should specify the further points say like A1 and B1 so on.The program will contain a limit constraint where it will come out of iteration loop and start a new loop,forming the network.
By this I will get a dense network of 120 deg branches.
The branching gets denser the moment I add source and destination points.
There can be 100 iterations to reach from A to B but the algorithm chooses the one following the minimal path.
I would be highly thankful to you if you would please share the python syntax and grasshopper definitionCapture.JPG for the same
Thank you for your time in advance
I would be highly grateful if you help me through
warm regards
Arya
12.gifShortest%20path%20algorithm.gh
min-paths.jpgcc.henn.studyimagesminimalpaths.jpg …
Grasshopper. So, I once made an attempt to bind ms sqlServer in order to get frozen definitions at some states, to avoid managing baked objects in Rhino and also be able to retain whole results without using the GH state manager that rebuilds everything.
But at that time GH's VB.Net component didn't properly read referenced dlls and I forgot it since then.
At first, I was surprised by Slingshot's extensive interface : I was still having in mind my own old project, a tool that would have acted at the Rhino's geometry object level, and auto creating the needed tables.
The bd would have consisted of a main table, owning the objects ID and name, and related tables containing the necessary information relative to the main objects.
For example, a Brep is made of so and so underlying objects, passed to respective tables, according to GH objects definition layout (just the way they are written in the xml schema).
Then, on a db, query an object by name, and retrieve the whole object or underlying objects (e.g. at the bounding curves level, or points level for a Brep).
With Slingshot, I made a few attempts to cheat GH with BLOB data fields, but no way to get a whole object. It seems that GH simply provides an object.toString ... and GH is definitely not conceived to produce persistence outside of Rhino. If I have some spare time, I will try to extract
About points and colors, I am now simply using a single field with CHAR(asLargeAsNeeded...), as GH parses String to every Point (or Vector or Color) entry of any component.
I do so because it need less to display on the canvas...
Whatever I wrote before, I really like your conception, as opened to relational interactions between ...whatever you need or dream of !
One last thing : GH can't open the definition file "Genome_DB_Template.gh" that I've downloaded from your site : http://slingshot-dev.wikidot.com/database-genome. I was expecting to learn a lot from your very smart stuff ! (I am running GH 08.00.13 and Slingshot 0.7.2.0)
Slingshot is running great, opened to any use...Thanks again.
Best,
Stan
…
r-School/
Registration deadline is 4th of March 2016
Official language: English with Italian and Arabic supportsTotal training hours: 120 hoursPlace: Sapienza University of Rome - Faculty of Architecture Final exhibition: Sapienza University of Rome - Rome - Italy4 professors and 8 tutors from University of Pennsylvania- USA, AA - London,politecnico di Milano- Italy, SAS-UNICAM-Italy, BAU - Lebanon , MSA, AAST and Cairo University - Egypt
final outcomes: scale 1 to 1 responsive façade; kinetic and optimized regarding to environment and users interaction. An official research will take in advance of how people interact with the kinetic Architectural object through the final exhibition survey .
to register …
rking at CITA http://petrasvestartas.com/Inflated-Restraint . Then I wrote my graph library in C# that has graph algorithms such as shortest paths(dijktra's, bfs, dfs), minimum spanning trees and etc. for Fox. It is not so difficult to read this book and implement graph methods in C# from pseudo-code: https://www.amazon.co.uk/Introduction-Algorithms-Thomas-H-Cormen-eb... The method that you pointing at is using multiple dijkstras for striping.
The thing with tiling use simple loop no recursion, at least this is more readable for me. Isosurface is also part of the Fox add-on. But as you know iso surface is just display thing, field value is what you checking at. Also colliding thing is faster if you do not check edge edge collision.
Another thing is you do those "aggregations" in 3D and you do not evaluate material properties of the real object, be it plywood, plexiglass or 3D print powder. It seems , if you make a physical prototype it will be strong as 3D, but it bends as tree branches because it holds only to one element. There are different way how to overcome that and make structure stable/lock it and branch back. Also take into account torsion forces of the connection.…
a pain to use sometimes. I recently found this great post:
http://www.grasshopper3d.com/forum/topics/formatting-numbers-in-grasshopper
which points to the msdn .net framework standard numeric format strings:
http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx
and the custom ones too:
http://msdn.microsoft.com/en-us/library/0c899ak8.aspx
Sooo... today I was trying to make a 2D array generator for RGB values to use with a RGB LED and an Arduino. For instance, declaring a 2D array in Arduino:
int color[3][3]={{255,0,0},{0,255,0},{0,0,255}};
I'm using the blend color component to spit out transitions between two colors. I want the list in the panel to be in the format above, so I used both the expression component and the string format component (are they the same under the hood?). In any case, if I have R, G and B values coming into the component, I want to format them so the come out looking like {R,G,B}, so I can just copy the output in a panel and paste it into the Arduino IDE. But what about {curly braces}. If the expression/format component uses them in it's syntax, for instance:
Format ("{R:0},{G:0},{B:0}",R,G,B)
how do I get them into the formatting string? I tried escaping them like:
Format ("\{{R:0},{G:0},{B:0}\}",R,G,B)
but that just makes the component angry
Escaping characters is explained in the formatting references above. Is it implemented in this component? Should I be looking at a different approach?
I've included a sample file below.
Thanks!
~BB~
…
ing-in-python?commentId=2985220%3AComment%3A628495
For the most part, I got the serial port to work and I could share the port with other components without wiring the components together using a sticky Python dictionary. There were a couple of issues with closing the port (Rhino had to be restarted).
In any case, I'm back at it. I am however going the C# component route with an eye towards writing my own components with visual studio. I am trying to create bidirectional communication with a serial device in grasshopper. I need more control over the serial port that the generic Firefly components can afford. Furthermore, I would like to understand how to program this myself. The first goal would be to create a few components that could handle various serial tasks, one to open/close port, one to read from port and one to write to it. This is not unlike how I got it to work in python, and is also similar to the logic in Firefly's serial components.
The thing that has me stumped with C# is how one shares the port between components? If one component is responsible for creating and opening/closing the port, how do the read/write components address the instance of the port created in the other component? Python has the sticky dictionary, is there something similar in C#? I'm a novice when it comes to C# and how it works within grasshopper, so maybe I'm missing something simple.
I've attached a klunky definition that uses C# to open/close a serial port. I've tried accessing the port with other components, but I don't know enough to make it work. Again, I'm mainly interested in the mechanics of how one component can access the serial port instance created in another component. If I could get some user objects going for now, I'd be happy. In the future, I want to roll my own components. If anyone has any suggestions, code snippets, or any other forms of enlightenment, I'd be greatly appreciative!
Rhino5 x64 + GH version 0.9.0056
Thanks,
~BB~
…