New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daylight analysis crashes for non-planar child surfaces. #607
Comments
Hi Mostapha, All of the cases runs but case 1 (windows in two curved walls), which complains about the truncated octree. |
Thanks Abraham. I'm checking the file now. It's most probably the result of this change made by @chriswmackey. It seems what Chris has done makes sense. Maybe @AntonelloDN's solution covers all the cases and should be used. I'll report back. |
thanks @ayezioro for the example file! @mostaphaRoudsari I have noted that the case 1 doesn't work because the function "RADNonPlanarChildSurface" is executed twice (one for each curved surface). |
Hi @AntonelloDN, Thanks for your input. There is a minor fix to Abraham's example. The child surfaces should not touch the edges of the parent surface but other than that if we revert back to the original code before the change that I mentioned only case 1 is going to fail. Your fix, assuming Abraham has already implemented it in the file, introduced a new bug which was writing the child surfaces multiple time. You can use importRad component to import the radiance geometry to see what I mean. I'll work on case two today and will try to get it fixed. |
Thanks a lot Mostapha. |
Thank you for finding the bug and sharing the example file! :) |
I can confirm that your change to the code that closed this issue has brought back the bug that was previously fixed by my edit. Now, I can no longer assign multiple RadMaterials to the different windows: Note how the HBSrfs have the material assigned to them but only one of the window RadMaterials makes it into the final rad file. Here's an example that recreates the issue: The error results specifically because of the change that you made on this line, @mostaphaRoudsari Since you are the one with the most knowledge of the Daylight workflow @mostaphaRoudsari , it might be best if you fix the issue. Otherwise, I will edit this line to use a try / except loop (using first the glzCount and then the [0]). -Chris |
I just wanted to add that this issue persisted until today and so added a try/except loop: |
http://www.grasshopper3d.com/group/ladybug/forum/topics/rundaylightanalysis-radnonplanarchildsurface-issue?page=1&commentId=2985220%3AComment%3A1698351&x=1#2985220Comment1698351
The text was updated successfully, but these errors were encountered: