r -1.
Here is my attempt, using anemone:
please note the following:
1. I had to change your definition a little bit so that each column of bricks is created by array.
2. There will be a height difference between the first and last column. If this bothers you you could try creating half the numbers you need with anemone and then mirroring them (hope this makes sense, if not let me know).
3. For some reason that is beyond my understanding, the first time you open the file anemone will not create a "correct" list of numbers. This can be fixed by moving the [Data_0] slider and let anemone calculate the loop again.
cheers, nikos
ps. yes, the gh file is usually called "definition".…
pper 0.9.0075Firefly 1.0.0.70
Uno Write Out: same number as the Number Slider to DPin5 - (i have tried all pwm pins on my arduino board)Uno Write Msg: Now writing values to the arduino board.
When i`m moving the slider only the RX light on my arduino board is blinking and the servo does not move.
I am Sure the Servo is working i have tried it to with the Program in ArduinoExamples / Servo / SweepIts working.
I`m not sure what i`m doing wrong.
hope somebody can help me,Thanks!…
ucture of the Building can be seperated into three layers.1. There are the big triangles that create the form of the buildings.2. The supporting structure.3. windows and tilesFor part 1 I am remodelling the cladding.part 2 and 3 are the same, just with a different size of triangles.My question now ist, how can i cut out the triangles of the supporting structure and the windows and tiles?Or do you have any other idea how i might remodel this building?Thanks in advance, Simon…
nd stress of a plate that is supported at two opposite sides (rotational degrees of freedom are allowed) and gravity load is applied. By now I can only verify the displacement of the plate with a deviation of less than 3 % using ANSYS Workbench. Kirchhoff's plate theory as an analytical approach gives a similar result with 10 % deviation.
The van Mises stress and Principal stress results in Karamba are approximately 200 times higher than the results in ANSYS and the analytical results. I tried to find the mistake for several days now and would appreciate any help or similar problems with validating the shell stresses.
Here are the values of the plate:
length: 1 m, width: 0.2 m, thickness: 0.01 m
Material: Steel 'S235' (standard)
resulting gravity load: 0.157 kN
displacement in Karamba: 0.000583 m
stress in Karamba: 116 kN/cm² (=1160 MPa = 500 % utilization!)
stress in ANSYS: 0.57 kN/cm² (=5.7 MPa)
The utilization of 500 % for a steel plate under its own dead weight makes we wonder what is wrong... See the grasshopper definition and the picture attached.
Best regards and thanks for any help,
Robert…
ome struggling i managed to get the effect i wanted but i have three problems:
1) i can't really scale these, hexagons were moved in the easiest way, so i have no control over the pattern
2) i feel that i made it pretty messy with all the dispatches, rotations etc - does it make the definition run slow? how could i simplify my definition?
3) most important i have no idea how to transfer it to hexagonal grid (so i can use jpg as attractor) for a bigger pattern. i tried starting from the hexagonal grid but couldn't get it and eventually got lost, but maybe thats the right way?
Pardon my english, hope i will get some help from you, have a good day :)…
from 0 to 1 and multiply those two lists.
So if a point is close to the attractors (building and blocks outlines) then its Z value is multiplied by 0 (or something close to 0) and so the surface becomes flat at this point.
Likewise, if a point is away from the attractors it's Z value is multiplied by 1 and so the surface is left unchanged at this point.
Now, if you already have a surface, you can do (more or less) the same. But instead of having all your starting points at z=0 and move them on Z, you now have to get each point's coordinates, multiply it's Z value with the same list (from 0 to 1) and rebuild the points with this new Z value:
Now, if you want some more control over the "flattening" effect, you could add a single expression component after the Distance output of [Pull], with 3 inputs (X=Distance, Y=slider for min distance, Z=slider for max distance) and the expression: If(x<y, y, if(x>z, z, x))
This is similar to what both you and Joseph did at some part of your definitions.
So with the expression component you keep the areas near the attractor curves flat and the areas away from them unchanged and with the graph mapper you create a smooth transition in between.
Hope this is clear,
cheers,
Nikos
…
m rnd As New random(666)
Dim field As New gh_field
Dim crvlist As New list(Of curve)
For i As Integer = 1 To 100 Dim pc As New gh_pointcharge
pc.Charge = rnd.NextDouble
pc.Location = bx.PointAt(rnd.NextDouble, rnd.NextDouble, rnd.NextDouble)
field.Elements.Add(pc)
Next
For i As Integer = 1 To 500 Dim p As New point3d(bx.PointAt(rnd.NextDouble * 0.5 + 0.25, rnd.NextDouble * 0.5 + 0.25, rnd.NextDouble * 0.5 + 0.25))
Dim pts As point3dlist = field.SolveSteps(p, 0.1, 30, gh_differentialsolver.RungeKutta4)
Dim crv As nurbscurve = nurbscurve.CreateInterpolatedCurve(pts.ToArray, 3)
crvlist.add(crv)
Next
a = crvlist
…
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!…
almost 60 seconds to compute, 50x50 points x 35 samples each x 3 rectangles = more than a quarter million curve|curve intersections), but at least not fossilised dog slow.
The inputs of the component are:
P = Plane in which to shoot the isovist sample rays, plane origin equals sample point
N = Number of rays per sample point
R = Maximum radius of sample rays. Any obstacles beyond the radius are ignored
O = List of obstacles (curves only). They will not be projected onto the sample plane, so you can have curves that are only partially 'active'.
Outputs:
P = Point at end of ray (at distance R from sample point) or point at closest obstacle along ray view direction.
D = Distance from sample point to P
H = Boolean indicating whether the ray hit an obstacle or not
--
David Rutten
david@mcneel.com
Poprad, Slovakia
…