First time here? Check out the Help page!
1 | initial version |
Matt, below is a summary of a variety of options for converting exterior surfaces to ground.
There is a nice way to split surfaces in the SketchUp Plugin. Normally "Project loose geometry is used for adding fenestration, but it can also be used to split up base surfaces. So if you have a change in material (and or boundary condition) 4 feet up. You can draw a line around your perimeter, raise it to the right height, and then project loose geometry. At this point you still need to change the boundary conditions (either by hand or with a measure). With this approach you could model sloped ground as well.
You could write a measure that would split a surface, given a "z" value as an input. For non-convex surfaces you could loop through all vertices. When you two adjacent that straddle the "z" value you can interpolate at what x and y value it crosses and then add a point. This should happen twice or no times (unless you have a non-convex surface which could get more complex). Then you need to duplicate the surfaces, and then delete points above on one copy, and below on the other, then change the boundary condition as part of the measure. OpenStudio does have a built an intersectSurfaces method for spaces, but I don't know that you can directly use that here. You could add in a dummy space (no associated with a zone) that has a big polygon representing the perimeter of the building. You might be able to intersect the model with this (I have not tested this) but it wouldn't change the boundary conditions for you.