Skip to main content
Solved

generate triangles between 3D lines

  • May 30, 2025
  • 4 replies
  • 40 views

zilvinas_fme
Contributor
Forum|alt.badge.img+2

Hello,

Does anyone know how to create triangles between two 3D lines using FME tools? The triangles can also be vertical.

Best answer by takashi

The attached workspace example describes a way to create TIN surface (Mesh) from a pair of 3D lines. Assuming that the two 3D lines have the same number of vertices.

Create TIN Surface from Two 3D Lines

 

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.

4 replies

takashi
Celebrity
  • 7843 replies
  • May 30, 2025

Hi ​@zilvinas_fme ,

I don't think there is a quick way to do that only with regular transformers. Probably you will have to implement some part of the process with a Python script. fmeobjects.FMETriangleStrip class could be applicable.

If you could share a sample data (two 3D lines), I would try creating a workspace example.


zilvinas_fme
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 8 replies
  • May 30, 2025

Hi takashi,

This is a shp file, it contains all the lines between which triangles should be created. The shp file contains the attribute lin_nr, where by selecting 1, 2, 3 you can select pairs of lines.


takashi
Celebrity
  • 7843 replies
  • Best Answer
  • May 30, 2025

The attached workspace example describes a way to create TIN surface (Mesh) from a pair of 3D lines. Assuming that the two 3D lines have the same number of vertices.

Create TIN Surface from Two 3D Lines

 


zilvinas_fme
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 8 replies
  • May 30, 2025

yes, but lines 2 and 3 and all the others don't have the same number of vertices. this is a problem for me.