m in the first place. What would I use to create these sets in a simple object which I can plug everything into. i.e. a mathematical script which uses one number (the number of items in the column). to join every neighbouring pair together. in this case, 21 rows, in 12 columns. Collecting the sets - 1 to 21 with 22 to 43 then 44 to 65 with 66 to 87 etc etc etc.
The selecting curves for the columns are drawn in Rhino, and are all equal in number (in height) as shown in Top view.
…
you create multiple motion vectors [M0, M1, M2, M3...M99]. If you have not just 1 shape but -say- 4 shapes [A, B, C, D], then your list of motion vectors will no longer work as expected. Specifically, [A] will be moved by [M0], [B] will be moved by [M1], [C] will be moved by [M2], [D] will be moved by [M3]. At this point you've run out of shapes, but you still have 96 motion vectors left over. So the default behaviour is to apply the next vector [M4] to [D] again, and then [M5] to [D] and so on.
You need to adjust your motion vectors so they can be mapped onto your objects. Basically, this means Grafting your objects, so instead of a single list [A, B, C, D], you end up with 4 distinct lists [A], [B], [C] and [D]. Now, ALL vectors will be applied to every individual piece of geometry.
Have a look at the Graft component and use the ParamViewer to see the 'before' and 'after' layout of your data.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 11:16am on April 23, 2010
ius, like the image below. I have a string with all of the 8 radii in a group of data. I was using the Divide Surface command, but there are two problems. First, the resulting points have a tree structure shown in the screenshot below, with {8; 2; 3}. How do I assign radius so that the six holes on the same panel has the same radius? The second problem is, the divide surface command generates points along the edges, too, where I don’t need any holes. How can I get rid of them?
…
o simulate is someone standing a foot or two from their window, drinking their morning coffee and enjoying their view of the nearby mountain or body of water or whatever landmark is interesting in the area. I realize I'm sort of using the component backwards, but it is really useful in the context I'm applying it in, it is just returning un-realistic results in some situations (where the space needle is 98 degrees off the normal of the window, for example).
The weighting factor could also be folded into this, views closer to normal get more weight for example. In my firm I'm asked to produce this analysis a lot, but I hate giving caveats about this angle issue. It also returns counter-intuitive results, making our shaping of the building seem less impactful than it really is.
Anyways, that is my 2 cents. I might bone up on my vector maths and see if I can't crack it.
Thanks!
Shane…
didn't look at it that closely), other than to say tree data structure is helping you and hurting you.
What I did to fix the file was work backwards. Looking at only the left panel you are trying to create 11 total planar surfaces from edge curves (8 curves per surface). That means you should be generating 11 of each type of curve so that you will have 88 total curves when you attempt to join them.
Tree data was in some cases giving you 121 of each type of curve (lists matching with tree structure...) so I worked backwards from your individual curves to flatten the inputs until ending up with only 11 (the expected number) of each type of curve.
…
use for some typical reasons why solar access can be important:
Solar Access for Passive Solar Heating - The conditional statement should request sun vectors for any hours below the balance point of the building (the temperature at which the building starts requiring additional heating). For residences, this can be as high as 18C and for commercial/retail buildings with high internal heat gains, this can be as low as 10C. 16C is around what you might find for some residences with better insulation and is probably the reason why that is chosen in the file.
Solar Access for Outdoor Thermal Comfort - The conditional statement should request sun vectors for any hours below the lower limit of outdoor comfort (UTCI uses 9C for this lower limit).
Solar Access for Health of Plants/Trees in a Park/Garden - This is a bit of the opposite of the other metrics since you want hours of the warmer season. In this case, I usually use solar radiation as the annualHourlyData with the conditional statement and I request hours that are above a certain radiation level (where the plants are benefiting the most). I then use an analysisPeriod to get rid of any months of the year when the trees don't have leaves on them.
Hope this helps,
-Chris…
If I put that function on a new thread I couldnt find a way to update the component later correctly.
What is the bast and probably simple way to run just one function that updates a variable (or it can return one, but I thought that a global one is a bit better) in the background without blocking?
Thanks
T
private static String results = String.Empty;
private static Boolean tDone = false;
protected override void SolveInstance(IGH_DataAccess DA)
{
List<Line> lines = new List<Line>();
if (!DA.GetDataList(0, lines)) { return; }
// can take a lot of time to finish!!
// this updates the global "results" string
DoSomeHardWork(lines);
DA.SetDataList(0, results);
string bb = Convert.ToString(tDone);
DA.SetData(1, bb);
}…
'll copy them manually for now since I'm way too excited to not start at once.
Runtime error (Win32Exception): WindowsErrorTraceback: line 247, in rmtree, "c:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\shutil.py" line 223, in onerror, "c:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\shutil.py" line 249, in rmtree, "c:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\shutil.py" line 244, in rmtree, "c:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\shutil.py" line 244, in rmtree, "c:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\shutil.py" line 244, in rmtree, "c:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\shutil.py" line 62, in installHoneybeePlus, "<string>" line 87, in script…