) function if you've already got a boolean value.
This expression:
x < 12
results in exactly the same things as this expression:
If( x < 12, True, False )
If() is only really useful when you want to return non-boolean data, like so:
If( x < 12, x, 100-x )
In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:
x result
1 1
2 2
10 10
11 11
12 88
13 87
14 86
18 82
70 30
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:22am on August 10, 2011
9 8 7 6
5 4 3 2 1 0
I am triangulating this surface. I want to select just the red vertices. As you can note, I just need the inner vertices of this surface. I could do it mannually, but if I want to change the mesh density later, I will have to pick all of them manually again later.
Can someone help me?
Tks
…
X, Y & Z parameters. At the moment 'Z' parameter is set to 0.
Now when i use a planar surface components it works well. But because i have Z parameter i need Edge surface component to work well. Edge surface gives me a funny shape, not like planar surface.
Essentially with Z parameter as 0, edge surface should look like planar surface, or not?
When i try edge surface with simple 4 points it works. The moment it gets relatively complex i do not get desired result.
All the points 1-26 in the curve were formed progressively in order i.e. 1, 2, 2...26 in GH not in Rhino.
What m'i doing wrong?
cheers
aB
…
onent are experiential or location specific. For example: humidex has been derived and widely used in Canada.Also both humidex and discomfort index should be used in in-shade conditions.For universal applications and locations, you should concentrate on either PET or UTCI (this is what "Outdoor Comfort Calculator" component is based on).
I have found out, that for instance - OutdoorComfortCalculator - which considers temperatures of 9-26 and other factors, gives the % of comfortable time outdoor for instance in Kenya in Africa (high temperatures and humidity) 55%, whereas within the same .epw data and some additional factors added to the Thermal Indices component, the "humidex" or "Discomfort index" give a result drastically lower, I think it was even 1-5% comfortable.How is that?
Yes, this is one of the issues that I have with UTCI index: the authors wanted to make it as an index applicable in any type of climate. To create the UTCI comfort categories a number of data has been collected from different locations (for hot humid climate, it was the data from Madagascar. I may be wrong on this). This resulted in universal comfortable range of 9 to 26 C which you mentioned. How would the people in Madagascar perceive the feel like temperature of 9 degrees as comfortable is beyond my understanding.Thermophysiology of a human in Madagascar, and in Poland is the same. However their acclimatization is quite different, which raises the issue with the upper universal comfortable range. In general people who live in hotter climates have a bit higher tolerance to high temperature than those living in continental climates. And vice-versa: their tolerance to lower temperatures is lower than the tolerance of the people from the continental climates. Here is a comparison of the UTCI - PET stress categories:
UTCI
all climates stress category
above +46 extreme heat stress+38 to +46 very strong heat stress+32 to +38 strong heat stress+26 to +32 moderate heat stress+9 to +26 no thermal stress+9 to 0 slight cold stress0 to -13 moderate cold stress-13 to -27 strong cold stress-27 to -40 very strong cold stressbelow -40 extreme cold stress
PET
(sub)tropical humid climate temperate climate stress categoryabove +42 above +41 extreme heat stress+38 to +42 +35 to +41 strong heat stress+34 to +38 +29 to +35 moderate heat stress+30 to +34 +23 to +29 slight heat stress+26 to +30 +18 to +23 no thermal stress+22 to +26 +13 to +18 slight cold stress+18 to +22 +8 to +13 moderate cold stress+14 to +18 +4 to +8 strong cold stressbelow +14 below +4 extreme cold stress
I attached below an example of PET humid climate comparison with UTCI, for in-shade and out-shade conditions.As it can be seen UTCI shows the percent of time comfortable: two times higher than PET.
Thank you Pin, for the useful comment, on usage of "Analysis period" component.…
domain of 10, 12, 14, 18 and 20mm.Simply put, i can't seem to use the R / Domain correctly in the Random-component. Following the attached logic(which in this case is wrong) it places all of the circles in the specified domain in every single centerpoint.My goal is to place one circle per one centerpoint, defined by the specific domain of 10 12, 14, 18 and 20.Help! :)…
the catenary shape
6) Get the mid point of all the heaxgons
7) Create surfaces to get the average normal of each hexagons
8) Project the hexagon on the normal plane
9) Move the plane using the normals
10) create mesh faces between first and second hexagons
11) create mesh faces to close the planar hexagon
12) Orient all the mesh faces on a flat grid to laser cut them
13) Join and weld the mesh
14) Thicken the mesh using Weaverbird to get a shell
I hope this helps. It is all one mesh at the end made of quads on the side and triangles on the top (yes 6 of them).
All the best,
Arthur
…
fault materials...6 RAD materials are loaded1. 2. Downloading OpenStudioMasterTemplate.idf to c:\ladybug\3. Loading EP construction library4. 206 material found in c:\ladybug\OpenStudioMasterTemplate.idf5. 30 windowmaterial found in c:\ladybug\OpenStudioMasterTemplate.idf6. 284 construction found in c:\ladybug\OpenStudioMasterTemplate.idf7. Loading EP schedules...8. The ScheduleTypeLimits: Fraction is already existed in the libaray.You need to rename this ScheduleTypeLimits.9. The ScheduleTypeLimits: Temperature 7 is already existed in the libaray.You need to rename this ScheduleTypeLimits.10. 21 scheduletypelimits found in c:\ladybug\OpenStudioMasterTemplate.idf11. 1370 schedule found in c:\ladybug\OpenStudioMasterTemplate.idf12. 13. 14. Hooohooho...Flying!!Vviiiiiiizzz...…
hink you need recursion to modify the random seed; many other ways to accomplish that (use the length of each curve as the seed, for example).
Using multiples of twelve makes it harder for me to grasp the essence of the matter; another way of looking at it is that you want to generate random integers from 2 to 5 (24,36, 48 and 60) and have them add up exactly to curve lengths of 5 (x12=60), 9 (x12=108) or 14 (x12=168).
So you want to generate random numbers until their sum ('Mass Addition') plus 5 is equal to or greater than the curve length (5, 9 or 14). The last number in the series is then not random but just the difference between the two.
For example, for curve length = 5 (x12=60), there are only three possible numbers that can be used as the first in the sequence: 2, 3 or 5. If it's 5, you're done. If it's 2, the second number is 3 (5-2), if it's 3, the second number is 2 (5 - 3). You can't use '4' at all because the remainder, 1 (x12=12) isn't one of your solution options.
There is no point in generating the last number randomly, eh?
P.S. You didn't use 'Internalize data' for the 'Curve (Crv)' param in your GH file.…
Added by Joseph Oster at 2:29pm on September 12, 2015