algorithmic modeling for Rhino
Replies are closed for this discussion.
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!
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.
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.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by