hem. Now I need to search through the original points that comprise the voronoi diagram and replace them with the new averaged points. I need to do this while still preserving the logic of the old data tree which is comprised of {i}j values. In other words each point is grouped into a vornoi cell so that the cells can be created with the polyline component
I believe I have a relatively simple solution, but need help create a python script that searches and replaces values within a data tree.See the psuedo code below:
Psuedo-Code:
For each item(i) in Data tree B (list of index values points to be replaced grouped into a data tree corresponding to the new point) find the corresponding integer in Data tree C (list of points grouped around {i;j} values)Then replace the integer in Data Tree C with the key value (the data tree path) that corresponds to the item from Data tree B that is replacing the item from Data tree CFor example:Data Tree B{14}(0)2(1)3(2)6(3)11(4)13(5)14Data Tree C{0;1}(0)2(1)3(2)6Output:Data Tree {0;1}(0){14}(1){14}(2){14}
List A - Single point (New Point) with Data Tree/Key value corresponding to group of points it will replace ( List B)
List B-list of index values of flattened voronoi point list with Data Tree/Key Value corresponding to List A - in other words these are all the points I need to replace with the point in List A
List C-list of index values of flattened voronoi point list with Data Tree/Key Value corresponding to {i}j values necessary to re-create voronoi cells with the polyline component
Once this is done I can use the Output and the new Points in List A to replace the set of old points in the original voronoi diagram with the new set up reduced points.
If there is another way to achieve the goal of eliminating small edges of a vorononi diagram, I'm open to suggestions.
…
production and presentation; to feel the workflow of some of the top ranked architectural universities. It is an opportunity for professionals to join and exchange ideas with a team of world reputable tutors. GENERATIVE MORPHOLOGIES v2 will focus on exploring the potential of parametrically driven generative processes and their combinations. By those processes we mean growth algorithms, production systems, physics and chemistry based reactions. While some of those notions may be known for decades, the usage of parametric software can ease merging and crossing between them, therefore enriching them with new possibilities. One of the main ideas behind the workshop is to collide emergent processes with deterministic systems and gain control over the final complex outcome of the algorithm, while maintaining its' valuable qualities. DETAILS/// GENERATIVE MORPHOLOGIES v2 will use the Anemone plug-in as the main workflow driver. From the practical point of view, we will make sure to briefly cover the Grasshopper basics, dive deep into data tree concept, learn about simple scripting in GH, compare the usual GH workflow with looping paradigms (Anemone, Hoopsnake and Octopus) and much more. The goal is creating a project that each participant can proudly include in his portfolio using the state of the art programs and techniques. For attending the workshop there is no previous software experience required. WHAT YOU WILL LEARN/// - Introduction in Rhino 3D, Grasshopper - Introduction in Anemone, Hoopsnake, Octopus - Strategies for 3D printing - Rendering with Vray - Discussions on project presentation APPLICATION/// http://designmorphine.com/…
s than 40% on average.2. 8gb usage is steady at 28% 3. I've been now looking at 2 blank white screen, in both Rhino and Grasshopper for well over 20 min. finally I went for a walk at 10:25am, (its a beautiful day why waste it looking at nonexistent calculations, It would help if there was a timing function in the code that would let me know how long the calculations were going to take, came back 11:25am still no results. Had to Quit Rhino in the Start manager.
I have used all sorts of window programs for well over 25 years. Rhino and Grasshopper are the only 2 programs that I have ever seen that show totally white screens in their operating windows :(
…
right? When the dataTree is this simple its not really a problem, but when it grows and I want to be able to refer to a specific GH branch e.g. {11;320} and I need to read this specific branch in Python? How do I do this?
I know that there is the function tree.Path(x) this will give me the GH Path, but how do I figure out what x needs to be? I guess there must be a simple answer :).
Thanks Rasmus…
Added by Rasmus Holst at 1:24am on October 14, 2013
ells new products like the Firefly Interactive Prototyping Shield which mounts on top of your Arduino Uno and provides access to a number of useful input (ie. sensors) and output (ie. motors) devices. It includes features like:
Three linear slide potentiometers connected to analog pins 0, 1, and 2
Two-axis joystick connected to analog pins 3 and 4
Light sensor (photocell) connected to analog pin 5
Three push buttons connected to digital pins 2, 4, and 7
Red LED connected to digital pin 13
RGB LED connected to digital pins 3, 5, and 6
Two servo connections on digital pins 8 and 9
A connection to the Easy Stepper Driver (co-designed by Sparkfun Electronics and Brian Schmalz) to control stepper motors. The direction of the motor is controlled through digital pin 10 and the number of steps through digital pin 12
High-voltage MOSFET circuit capable of driving lights, valves, DC motors, solenoids, or anything else requiring higher voltage or current. The gate of the MOSFET is connected to digital pin 11 (PWM).
Some come take a look and let us know what you think!
…
es. There's quite a lot of work involved in making these as you have to perform layout and drawing all by yourself. Are you looking to do this in VB or C#?
It is also possible to draw pixels into the canvas at various layers. There are 13 events raised over the course of a Canvas redraw and you can draw additional shapes in 11 of them (the PaintBegin and PaintEnd are too early and too late respectively)
CanvasPaintBegin
CanvasPaintBackground
CanvasPrePaintGroups
CanvasPostPaintGroups
CanvasPrePaintWires
CanvasPostPaintWires
CanvasPrePaintObjects
CanvasPostPaintObjects
CanvasPrePaintOverlay
CanvasPostPaintOverlay
CanvasPrePaintWidgets
CanvasPostPaintWidgets
CanvasPaintEnd
Things like your Red and Green circles could be drawn in PrePaintGroups.
Ultimately, it is possible to synch objects, though probably quite difficult if you didn't write those objects. You may have to watch for GH_Document.SolutionStart events and perform your synching there, but I would hate to have to write this code if I couldn't add functionality to the objects to be synched.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
rcle A 0---1---2Circle B 0---1---2---3---4---5---6---7---8---9---10---11I was actually trying to connect through separated lines, point (A,0) to (B,11) and (B,1),point (A,1) to point (B,3) and (B,5), and (A,2) to (B,7) and (B,9).I was able to do it using a list item selecting the points and creating a line between them, but i would be to long to do it if i would like to divide in many more points, and try to connect them using list item... i went looking around for a bit, i think its possible to do it with a path mapper or a flip matrix, althought i have no clue how to make it.
You will find enclosed, some screenshots...If anyone could give me any tip, i thank you all in advance.Have a nice day.+Joan…
Added by Joan tarragon at 7:38am on December 5, 2011
he default for Rhino, degree=5 gives you smoother curves, but each control point matters less, degree=11 is the highest degree Rhino allows. Apart from 2, degrees tend to be odd rather than even, though Rhino supports both.
In addition to the degree and the control points, Nurbs curves have knots. A single knot is just a number, and the list of all knots is called the knot-vector of a curve. The number of knots depends on both the degree and the control-point count, and the spacing of the knots affects the shape of the curve a little bit. If there are <degree> knots with the same value, then the curve is somewhat discontinuous at that location which could manifest itself as a kink or as a clamped end-point. However it is not possible by just looking at the shape of a curve to say where stacked knots might be, but you can use the Rhino _List command to inspect all details of a Nurbs curve.…
main attention is set on easy to handle interface , which should be used at a early stage of conceptual design to respond to external and internal influences in a intelligent and sustainable way.
Participants will use the software Grasshopper as a parametric modeling plug-in for Rhino. The usage of this graphical algorithm editor tightly integrated with Rhino’s 3-D modeling tools open up the possibility to construct highly parametrical complex models. To generate this complexity we will use live linkages to several programs listed below:
• Autodesk Ecotect Analysis and Radiance via GECO
• Processing, Excel or Open Office via gHowl
• FEA software GSA via SSI
In this 3 intense days, the participants should learn the workflow of the plug-ins with the help of examples and get an overview of the different software’s, there possibilities for evaluating the performance of a design or the usage of additional tools to be not chained to a single system .
(e.g. parametrical accentuation, parametrical formation, parametrical reaction)
TIME AND LOCATION
27th – 29th September 2010Leopold-Franzens university innsbruck/austria
Technik Campus | ICT - building
Technikerstraße 21a
A - 6020 Innsbruck | Austria
47°15’50.71”N 11°20’43.45”E
detailed program as pdf-version
FOR WHOM
All levels are welcome (students & professionals)
The only requirement is knowledge of Rhino and Basic Grasshopper.
You will need a level which corresponds to the Grasshopper Primer course outline.
FEES
21 hours
professionals: 395€
students (bachelor/master): 250€.
REGISTRATION
please send a email to to.from.uto@gmail.com attached with following information :
Last Name
First Name
Date of Birth
Nationality
Email Address
Current Address
Profession or proof of student status
After submitting you will receive an email with a PayPal link to complete registration.…