[vtkusers] How can I save to STL format?

David Doria daviddoria+vtk at gmail.com
Fri Jun 4 17:29:43 EDT 2010


2010/6/4 Bill Lorensen <bill.lorensen at gmail.com>:
> The STLWriter only writes triangles. Actually, it only writes the
> first three points of any polygon. vtkStripper makes triangle strips.
> Try writing the output of the filter prior to the vtkStripper and I
> think you will be pleased,
>
> Bill

Then shouldn't vtkSTLWriter throw an error (or at least a warning)
indicating that the input is invalid/not what it is expecting instead
of just writing an empty file?

David



More information about the vtkusers mailing list