Programmatically creating a surface with holes

asked 2018-11-29 04:17:11 -0600

nmw gravatar image

Hi, in OpenStudio SDK I can create a surface by a vector of points using the constructor. I am just wondering if it is possible to create a surface with holes? I know the points along the outer as well as inner perimeters of my surface. Many thanks.

edit retag flag offensive close merge delete


Here's another question: can you create a surface with holes in E+ to begin with? You can't, cf here.

So you'd have to split your "hole-containing" surface into two. The rest is somewhat basic, yet really annoying, geometry (as in the underlying concepts are fairly simple, but the implementation is harder!)

Julien Marrec gravatar image Julien Marrec  ( 2018-11-29 05:40:10 -0600 )edit

Thank you Julien, I wasn't aware of that. Will split the surface then.

nmw gravatar image nmw  ( 2018-11-29 07:59:33 -0600 )edit