Skip to main content
Question

How to create vertical face from 3D lines


mhab
Contributor
Forum|alt.badge.img+10
  • Contributor

I have an aggregate of 4 3D lines which are the outline of a vertical polygon. I want to replace it by a face and can't seem to do that. (In fact it is a wall of a building)

I need LineCombiner to create a polygon which is prerequisite for the FaceReplacer.

As it seems to me LineCombiner cannot handle vertical polygons and so I cannot create vertical faces.

Please proof me wrong or let me know how to solve this.

3 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • January 7, 2018

Hi @mhab, the basic idea is: rotate the four lines by 90 degrees around an axis parallel to the wall, build an area from them, then rotate the resulting are by -90 degrees around the same axis to restore the original coordinates. If the wall was parallel to the X axis, this workflow creates the vertical wall.

I think you can expand the idea to apply to walls of any direction.

This is an example. Assuming that the input feature has an aggregate geometry that consists of four lines representing the edges of a vertical wall.


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • January 7, 2018
takashi wrote:

Hi @mhab, the basic idea is: rotate the four lines by 90 degrees around an axis parallel to the wall, build an area from them, then rotate the resulting are by -90 degrees around the same axis to restore the original coordinates. If the wall was parallel to the X axis, this workflow creates the vertical wall.

I think you can expand the idea to apply to walls of any direction.

This is an example. Assuming that the input feature has an aggregate geometry that consists of four lines representing the edges of a vertical wall.

If the top edge and the bottom edge of the wall are parallel to the XY plane and also their 2D geometries are exactly same, the Extruder might be an easier solution.

 

 

 


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • January 9, 2018

Thanks takashi for the elaboration on this problem.

It shows me quite clearly, that there is a functional gap in existing transformers.

LineCombiner is a 2.5D piece of functionality and not really 3D.

Running a Solid through GeometryCoercer (fme_polygon) produces all kinds of polygons also vertical ones.These, on the other hand, could not be created by LineCombiner without quite complex extra work.

Seems a suggestion for a 3DLineCombiner is the next step ;-)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings