Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Programmatically creating a surface with holes

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

nmw's avatar

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's avatar 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's avatar nmw  ( 2018-11-29 07:59:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-05-06 06:40:08 -0600

mayfelk's avatar

Hello there. I am currently dealing with a (perhaps) similar situation to yours. Maybe the solution/workaround given here will be useful to you.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools


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

Seen: 121 times

Last updated: Nov 29 '18