Grasshopper

algorithmic modeling for Rhino

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

Views: 460

Attachments:

Replies are closed for this discussion.

Replies to 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!

Attachments:

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.

Attachments:

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.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service