Hi everyone,
about the STL thing, the vtk writer used in vmtk supports ASCII files out of the box, only
I haven't exposed that option at the script level until today.
I just pushed a commit on the source code repository to allow this:
... --pipe vmtksurfacewriter -ofile foo.stl -mode ascii
It works for stl, vtu, vtk, vtp, ply.
If you're in a rush, get these two files
and copy them over to your {installpath}/lib/vmtk/vmtk folder, replacing the old ones.
Note, it's the lib folder, not the bin folder (you'll find two files called vmtksurfacewriter
and vmtkmeshwriter, without the py extension: they're not the right ones to replace).
Luca
PS: Richard, thanks a lot for sharing the script, very much appreciated.