[vtkusers] Re: [python] issue on vtkPolyData and array...

fred fredmfp at gmail.com
Sat Apr 21 19:48:09 EDT 2007


fred a écrit :
> Hi,
>
> I try to write vtkPolyData file using python vtk functions:
[snip]
> cells_array = array([[VTK_VERTEX_NB_POINTS]*csize, 
> range(csize)]).transpose()
[snip]
> What am I doing wrong ?
cells_array = array([[VTK_VERTEX_NB_POINTS]*csize, 
range(csize)]).transpose().ravel()

-- 
/F




More information about the vtkusers mailing list