Skip to main content
Solved

How to create new areas based on overlay of polygon and lines

  • June 20, 2018
  • 1 reply
  • 22 views

I have a set of contourcurves that I want to use in order to create a printed model. In the printed model each curve should be represented by a plate, see example below.

 

I have the contour curves as lines (with z-value) and some of them are connected at the ends with which I can create areas/polygons with the AreaBuilder transformer. Some lines however have loose ends, but I would still like to create the plate discs here. So I created a bounding box with the BoundingBoxAccumulator over the entire input dataset. My idea was then to use this box and the seperate lines (height curves) to create new areas that I then can extrude. Here is an image of my idea (orange area should also include red, blue include both orange and red):

But here my knowledge in FME seems to end. Any idea how this problem could be addressed?

Best answer by larry

Sample code and result.

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.

1 reply

Forum|alt.badge.img
  • 173 replies
  • Best Answer
  • June 20, 2018

Sample code and result.