convert .stl fomat to .vtk format (XML VTU format and legacy ASCII format)

You can write older version of the file with this:

https://vtk.org/doc/nightly/html/classvtkDataWriter.html#a2e473c06cc1dc75bb63ff29c21933290acd12becdbb6a4dd1cd39930e28433000

1 Like