Skip to main content
Solved

generate triangles between 3D lines


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

 

View original
Did this help you find an answer to your question?

4 replies

takashi
Influencer
  • 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
  • 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
Influencer
  • 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
  • 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.


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