Skip to content

Triangulate input in STL writer

STL files support only triangles, so VTK's STL writer would signal an error when the input contained non-triangles. Instead, triangulate each non-triangle polygon while writing it out to support a broader variety of polygonal input. This is a convenience to avoid the need for adding a vtkTriangleFilter to a pipeline, which was the prior standard workaround for STL's triangle limitation.

Merge request reports