2010-01-24 04:15 PM - last edited on 2024-09-09 10:51 AM by Doreena Deng
2010-01-25 12:51 PM
aud_kit wrote:I think you will have to iterate through the faces in the 3D body to calculate that. Take a look at the
I can find total surface areas of the wall from "API_WallQuantity", but I can't find surface areas in each of wall directions, such as, the wall of North direction, etc.
How to know what direction of the wall is.
2010-01-25 05:01 PM
Ralph wrote:Thank you very much. I will be back to reply the result.
I think you will have to iterate through the faces in the 3D body to calculate that. Take a look at theModel Access API- it provides easy methods for accessing all the bodies, polygons, vertices, etc in the 3D model (including the polygon materials). Use the surface normals to calculate the wall direction.
2010-01-26 05:07 AM
2010-01-26 11:30 AM
aud_kit wrote:Not sure if you noticed, but the
What I wanna do is that I am trying to check if a given wall element is exterior or interior and determine which side of the wall is exposed to the outside if the wall element is an exterior wall. Then, I can compute the surface normal of only the wall side facing the outside.