y to heaven (or hell) is full of pain,frustration and tears. In plain English: if you are not totally committed (and willing to pay the heavy price) ... well ... what about forgetting all that freaky stuff? (the best option, trust me)
Note: 99% of beginners dream to learn programing in order to make geometry. But the truth is that this is the least (and rather the most insignificant) that you can achieve especially when working in teams with lot's of CAD/MCAD apps (and verticals) in the practice of tomorrow (bad news: tomorrow is already yesterday).
Anyway: How to go to Hell in just 123 easy steps
Step 1: get the cookiesThe bible PlanA: C# In depth (Jon Skeet).The bible PlanB: C# Step by step (John Sharp).The bible PlanC: C# 5.0 (J/B Albahari) > my favoriteThe reference: C# Language specs ECMA-334The candidates:C# Fundamentals (Nakov/Kolev & Co)C# Head First (Stellman/Greene)C# Language (Jones)Step 2: read the cookies (computer OFF)Step 3: re-read the cookies (computer OFF)...
Step 122: re-read the cookies (computer OFF)Step 123: Open computer > burn computer > computers are a bad thing (not to mention the Skynet trivial thingy).May The Force (the Dark Option) be with you.
…
ore simplest way, for example i need to declare min distance (minDist) like huge number to avoid overlapping values. may be find way do not use second loop in script at all . In the neoarchaic's script has line 99 (j = pts.ClosestIndex(pt)) but i have no idea how to do it in C#.
2. In a file i prepared GH+Hoopsnake and GH+Anemone solution for this script . Can i use the same principle in C# (shipt list with wrap values )? This solution I need for studying list operations in C#.
Thank you for helping .
ps..My script:
int num = x.Count; double minDist,dist; int minI = 0; int i = 0;
Point3d pt; List<Point3d> z = new List<Point3d>();
while (i < num) { i++; z.Add(x[minI]); pt = x[minI]; minDist = 1000000000000; x.RemoveAt(minI);
for (int n = 0; n < x.Count; n++){
dist = x[n].DistanceTo(pt);
if ( dist < minDist) { minI = n; minDist = dist; } } } A = z;
…
near logic you were asking:
This is simply using a line as a reference, and finds the projection of the mesh points on it. Then, the values along the line can be used to create a linear growth. A second example is then here a simple attractor logic. The closer to the point, the larger the thickening.
A last example is using the linear increase example as a start point, but then applies the sin function to it. This creates a moving wave. Note also how this trigonometric function returns on top of itself.
I hope this helps,
Giulio
--
Giulio Piacentino Weaverbird development…
once all neighbors overlap, its fine. otherwise just think, they can not be too big, as they will be trimmed, so maybe say: quad size is given by the host surface BBX diagonal length. for the trimming: as long as u have no concave parts on the surface, u can trim each cell with all others. try to work with planes instead of the planar cells. that saves performance. use plane-plane intersection, then u get edge lines, which then u just need to chamfer together. u can find neighbors for each cell by i.e. (the cheapest option) neighbors are the 10 closest cells to a test cell. remember: u just need to limit the number of intersecting planes. this works for rather evenly distributed cells with little concave curvatures. i found useful a kind of searchlight strategy. think of a rotating cone. from all points currently in the cone, the closest is designated as neighbor. i know this is totally unscientific, but i hope i could help!ps. lets see this http://www.grasshopper3d.com/photo/faceted-shell…
can try playing around with that.
The other reasons were pretty much covered by Mostapha and Chris. Usually you want AB (the ambient bounces) to be greater or equal to 5 no matter the quality, as it is one of the most important variables for a dependable simulation. Of course it depends on the nature of your geometry but 5 min. is a safe bet.
Btw, I couldn't see which geometry you are plugging where as one pipeline was empty in the file you posted when I opened it. Could it be that you forgot a surface?
Another point is the unit range you are using. Is that really 10 lux as maximum in your picture? Because in that case it makes sense for everything to be yellow (inside and outside) as you most likely will have more than 10 lux everywhere.
P.S.: Selecting medium/high quality sets all the variables for you, no need for additional sliders. In your case you are actually overwriting the quality settings.
Kind regards,
Theodore.…
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
…
e.
i have come as far as creating a mesh entirely in GH to my desired form. Could any-1 please help me with creating fenestrations / holes into this mesh in GH?...
I have been stuck with this since a week now...not able to find any solution to move ahead!
i have Tried Voronoi by converting this mesh in to surface...it doesn't really work on the mesh that i have created...
any-1 with some suggestions?
cheers
aB
…
in 10 minutes or so!
If you are interested to know about the process of putting the Ladybug together, what's going on right now and what's coming next, just check the workshop website for webcast information! Here: http://www.nrel.gov/buildings/2013_radiance_workshop.html
Cheers,
Mostapha…
below:
The comand prompt window (see attached image) seems to put -ad 1000 as default even if it seems to be set to 512 in grasshopper. In contrast to -ad, the modification of -ab to 3 has been taken into account. Have you set minimum values for RADparameters? If yes, would it be possible to force them to custom values?
Thanks in advance for your help
Best regards,
Aymeric…
umbrella of Urban Heat Island (UHI) and I am going to try to separate them out in order to give you a sense of the current capabilities in LB+HB.
1) UHI as defined as a recorded elevated air temperature in an urban area:
If you have access to epw files for both an urban area and a rural area, you can use Ladybug to visualize and deeply explore the differences between the two weather files. Ladybug is primarily a tool for weather file visualization and analysis and it can be very helpful for understanding the consequences of UHI on strategies for buildings or on comfort. This said, if you do not have both rural and urban recorded weather data or you want to generate your own weather files based on criteria about urban areas (as it sounds like you want to do), this definition might not be so helpful.
2) UHI defined by air elevated air temperature but viewed as a computer model-able phenomenon resulting primarily from urban canyon geometry, building materials, and (to a lesser degree) anthropogenic heat:
This definition seems to fit more with they type of thing that you are looking for but it is unfortunately very difficult and computationally intensive such that we do not currently have anything within Ladybug to do this right now. I can say that the state-of-the art for this type of modeling is an application called Town Energy Budget (TEB) and this is what all of the advanced UHI researches that I know use (http://www.cnrm.meteo.fr/surfex/spip.php?article7). Unfortunately for those trying to use it in professional practice, it can take a while to get comfortable with it and it currently runs exclusively on Linux (this does mean that it is open source, though, and that you can really get deep into the assumptions of the model). A couple years ago, a peer of mine translated almost all of TEB into Matlab language making it possible to run it on Windows if you have Matlab. He wrapped everything together into a tool called the Urban Weather Generator (UWG), which can take an epw file of a rural area and warp it to an urban area based on inputs that you give of building height, materials, vegetation, anthropogenic heat, etc. I would recommend looking into this for your project, although, bear in mind that is it not open source like the original TEB tool and that you may need to get a (very expensive) copy of MATLAB (http://urbanmicroclimate.scripts.mit.edu/uwg.php).
3) UHI as defined by a thermal satellite image of an urban area depicting an elevated average radiant environment that reaches a maximum a the city center and changes by land use:
This is the definition of UHI that I am most familiar with and was the basis of much of my past research. I feel that it is also a definition of UHI that is a bit more in line with where a lot of contemporary UHI research is headed, which is away from the notion of UHI as a macro-scale meteorological phenomena that is averaged as an air temperature over a huge area towards one that accepts that different land uses have different microclimates and (importantly) different radiant environments. While the air temperature difference between urban and rural areas usually does not change more than 1-4 C, the radiant environment can be very different (on the order of 10-15 C differences). The best way to understand UHI in this context is with Thermal satellite images, for which there is ha huge database of publicly available data on NASA's glovis website (http://glovis.usgs.gov/) or their ECHO website (http://reverb.echo.nasa.gov/reverb/#utf8=%E2%9C%93&spatial_map=satellite&spatial_type=rectangle). I tend to use thermal data from LANDSAT 5-8 and ASTER satellites in my research. Unfortunately, there is a lot f bad data with a lot of cloud cover mixed in with the really good stuff and it can take some time to find good images. Also, there aren't too many programs that read the GeoTiff file format that you download the data as. I know that ArcGIS will read it, a program called ENVI will read it (I think that the open source QGIS can also red it). I have plans to write a set of components to bring this type of data into Rhino and GH (I may get to it a few months down the line).
4) UHI as a computer model-able notion of "Urban Microclimate" with consideration of local differences and the local radiant environment:
This is where a lot of my research has lead and, thankfully, is an area that Honeybee can help you out a lot with. EnergyPlus simulations can output information on outside building surface temperatures and these can be very helpful in helping get a sense of the radiant environment around individual buildings. Right now, I am focusing just on using this data to fully model the indoor environments of buildings as you see in this video:
https://www.youtube.com/watch?v=fNylb42FPIc&list=UUc6HWbF4UtdKdjbZ2tvwiCQ
I have plans to move this methodology to the outdoors once I complete this initial application to the indoors. For now, you can use the "Surface result reader" and the "color surfaces based on EP result" components to get a sense of variation in the outside temperature of your buildings.
I hope that this helped,
-Chris
…