Skip to main content

Hello,

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

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.


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.


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

 


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