[vtkusers] Polydata vertices with python?

David Doria daviddoria at gmail.com
Thu Jun 18 11:35:59 EDT 2009


Writing points to a vtp works fine:
http://www.vtk.org/Wiki/Write_the_corners_of_a_triangle_to_a_file

But then writing points and vertices does not:
http://www.vtk.org/Wiki/Write_the_corners_of_a_triangle_to_a_file_%28%2Bvertices%29

If you uncomment the SetVerts() line, it seg faults on the line:
writer.Write();

Does anyone see the problem with this?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090618/aa7ccb01/attachment.htm>


More information about the vtkusers mailing list