Skip to main content
Solved

Get top face from extruded shape

  • October 6, 2020
  • 2 replies
  • 68 views

btl
Contributor
Forum|alt.badge.img+8

How would I isolate the top face of some buildings I've just extruded? - so that I can apply different appearances to the top and the walls.

Best answer by virtualcitymatt

Use the GeoemtryCoercer to a CompositeSurface - Use GeometryPartExtractor to get IFMEFaces - You can then use a PlanrityFilter to extract the surface normals. You can use the surface normals to figure out which is Ground (normal z =-1), Wall (normal z=0) and Roof (normal z=1).

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • Best Answer
  • October 6, 2020

Use the GeoemtryCoercer to a CompositeSurface - Use GeometryPartExtractor to get IFMEFaces - You can then use a PlanrityFilter to extract the surface normals. You can use the surface normals to figure out which is Ground (normal z =-1), Wall (normal z=0) and Roof (normal z=1).


jonas_nelson
Enthusiast
Forum|alt.badge.img+27
  • Enthusiast
  • October 7, 2020

Use the GeoemtryCoercer to a CompositeSurface - Use GeometryPartExtractor to get IFMEFaces - You can then use a PlanrityFilter to extract the surface normals. You can use the surface normals to figure out which is Ground (normal z =-1), Wall (normal z=0) and Roof (normal z=1).

A very good approach - and it works with LoD2 buildings as well, where the roof surfaces are not horisontal. (They will have a surface normal between 0 and 1.)