ee circles:
It took me a while to come up with a good Fitness Function but eventually I think I managed it. As you see the result is actually pretty good, it took about 5 iterations (1~2 minutes) of the Simulated Annealing solver to get this answer. I also attached the file, though you may not be able to open it even on the most recent publicly released version.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 6:50am on December 11, 2012
which I understand analyses only 2 octave bands (500 Hz and 2 kHz) instead of the 8 bands (for which the STI component requires background noise.)
Or have I misunderstood this metric and the three values mean something else?
For reference / a minimal definition I have the open office example (gha and 3dm attached) which includes 20 receivers and the sti results show three values for each (see the image).
Thanks in advance Roly…
d!" set, but the Firefly read component doesn't seem to work. However the LED on my Micro blinks, so the code arrived there for sure.I am using Rhino 5 64bit (also tried 32bit) latest GH and an Arduino "Micro". Could it be a problem with my .NET? (I am using version 4)Did I miss something important? I also tried different BaudRatesAny help would be of great appreciation. Thanks a lot.GreetsBenjamin…
error, but resetting the height to <100m should fix things.
The height of the night boundary reflects the diurnal pattern of the urban boundary layer (image below). During the day the solar shortwave radiation heats up the urban surface, mixes with the air above creating a tall boundary layer. During the night the surface cools down, the boundary layer becomes more stable, and it's height is reduced. So typical heights for daytime is ~ 1000m, and for nightime ~ >100m.
So increasing it by a factor of 8 to 10 is likely what is causing issues with the UWG calculation for you. I started a github issue here: https://github.com/chriswmackey/Dragonfly/issues/11 so that we can fix this typo. Also we should figure out why exactly the calculation is failing so that can potentially put an upper bound to the inputs or a better error message. Thanks for catching it!
Finding some reference data linking weather layers to urban typologies is a good question, I'd like to find some too. Perhaps Chris/Mostapha might be able to provide some? You can check out the following thesis [1],[2] that the UWG algorithm is based on, which references three case studies for Singapore (Punggol), Capitoul and Bubble:
[1] https://dspace.mit.edu/handle/1721.1/107347
[2] https://dspace.mit.edu/handle/1721.1/59107…
t syntax that is shown on that example page. I tried finding the dll myself and importing into my project, but got an "invalid" error:
2) By what method do you recommend "observing the position constantly"? Which event stream am I following? In the sample code at the link, there is only an onClick type event, as opposed to a window listener.
Any thoughts/sample code is much appreciated.
Thanks!
Marc
…
o.Geometry.Collections.MeshVertexList.ToPoint3dArray(). The order of the vertices in the two cases are different.
I have made a testcomponent that has the vertices of a mesh as output. I then draw a poyline between vertices to show the difference. See picture: Top is Rhino.Geometry. Bottom is WeaverBird. Anyone who knows why this is the case?
And heres the code
namespace
VerticesTest
{
using System;
using Grasshopper.Kernel;
using Rhino;
using Rhino.Geometry;
public class VerticesTest : GH_Component
{
private Point3d[] vertices;
public VerticesTest()
:
base("TestMyVertices", "VerticesTest", "Component made to show the difference between Weaverbirds and Grasshoppers different way of recognizing vertices", "Extra", "TestStuff")
{
}
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
{
pManager.AddMeshParameter(
"Mesh", "M", "Mesh for test", GH_ParamAccess.item);
}
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.AddPointParameter(
"Vertices", "V", "TestOutputforMeshgeneration", GH_ParamAccess.list);
}
protected override void SolveInstance(IGH_DataAccess DA)
{
Rhino.Geometry.
Mesh mesh = null;
if (!DA.GetData(0, ref mesh)) { return; }
if (!mesh.IsValid) { return; }
vertices = mesh.Vertices.ToPoint3dArray();
DA.SetDataList(0, vertices);
}
public override Guid ComponentGuid
{
get { return new Guid("DA410557-D5CE-4457-914D-F594F64FA978");
}
}
}
}
…