Generating glazing on curved walls?

Is the above possible? In the file attached I get a curved window on one part of the wall, but not anywhere else. I’m not sure how to debug this, or what I should expect to work. Thanks!

Trygve

curved_window_problem.gh (98.9 KB)

Hi Trygve,

If you shatter the curve (split surfaces in smaller pieces) it will work fine. Doing this you basically help the component not to fail with offset curve on surface which is how it finds the right percentage of glazing.

Hope it helps,

Mostapha

PS: I still have to reply to your email. Sorry for the delay!

curved_window_problem_msr.gh (103 KB)

Brilliant! Offset curve on surface. Good to know. That makes more sense now. Thanks!

PS: Not a problem. Chris and I are meeting tonight to discuss, so we’ll have updated ideas soon.

Ok. So that worked, but now I’m getting this error in the runDaylightAnalysis component:

Runtime error (MissingMemberException): ‘list’ object has no attribute 'X’
Traceback:
line 105, in getsurfaceStr, “<string>”
line 183, in RADNonPlanarChildSurface, “<string>”
line 1041, in main, “<string>”
line 1509, in script

It’s particular to the curved surfaces, I think, as a cube works just fine. I dug around in the script a little, and it looks like at one point the “coordinates” parameter of getsurfaceStr is passed a list of four points by RADNonPlanarChildSurface rather than one. Those four points are at the corners of one of the curved windows. I stopped digging because I’m not really sure how everything works in there.

Sorry, here’s the updated file. Just needs an epw.

window_bug_example.gh (126 KB)

Hmm. This is strange. I added a try/exception so it will work for your case for now. Later I will take a look to find why extract points returns lists of lists of lists for your case.

window_bug_example_msr.gh (128 KB)

Hi,
I encountered the same problem. It is not possible for me to download neither the image nor the gh. file. Could you please upload them one more time?
thank you