[vtkusers] How can I save to STL format?

Bill Lorensen bill.lorensen at gmail.com
Fri Jun 4 19:39:45 EDT 2010


The file was not empty, but contained the first 3 points of each strip.

That said, it should at least warn...

Bill

On Fri, Jun 4, 2010 at 5:29 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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