I had some issues with significantly different results when I was re-running and update a old file.
I was trying to customize according to my needs, the “Find when sun is visible to a point” script,
but I noticed strong inconsistencies compared to the months before, where I did not find any problems.
mostly I have 2 problems…
…the first problem is that several sun rays are not blocked from the context.
(see the image). I checked the direction of the surfaces in Rhino and are all in the right direction.
I hope that some of the experts and/or administrators will be able to spend some of their precious time, checking and removing the doubt that I am wrong.
… I solved the second problem, I had forgotten to Graft the component that generate the all visible sun vector to my input points.
Unfortunately I can’t solve why all the solar rays are not blocked by my context.
The first image is how it comes out SunlightHoursAnalysis, in the 2nd image they are the only sun rays that should be displayed.
Is it possible that you’re mapping there data incorrectly? What happens if you run it only for the center of the face? Does the result for a single point looks right?
The result for a single point is better but the unblocked rays remains in some areas (see the Image).
The problem is that many times, require me to analyze surfaces (fasade) and not single points (windows), so the problem and the doubt would remain.
I don’t think I’m wrong with the mapping, because the rays come out of the output: SunIsVisible (see the image)
Dear @mostapha, I got your script " Find when sun is visible to a point" and added an obstacle.
Here too, I have the same problem. As you can see in the image, some rays that should be blocked, pass through the surfaces (orange circle)
Unfortunately I have to prove to my superior the exact time span of direct solar radiation, and if he sees that some of them pass through our context, he questions the functionality of this analysis.!
You forgot to connect the blocking geometry to context.
You should use sun vectors to re-draw the lines and not the sun positions. Sun positions are calculated in relation to the center of the sunpath. You have to calculate the sun position for each test point based on the sun vector.
Hello, I came across the same problem with rays that appear to pass through surfaces. Unfortunately, I am using LBT 1.4, so some of the parameters are named different or in a different position.
The second problem I am facing is, the generating of the graph, showing the hours when the sun is visible. It also seems that I do not understand exactly how LB Construct Data/Headers work.
I am not so sure which output is needed, and where to get, so that I can get the data I want.
PS I love seeing what you guys have done with LB over the years. Thank you all for the support as well!