[Paraview] missing python filters from python Shell
Laurent Paul
laurent.paul at uclouvain.be
Thu Mar 20 04:01:28 EDT 2014
Thanks David for your help.
I have found a solution. I have browsed in the "ParaView
4.1.0\lib\paraview-4.1\site-packages" directory. Here is the paraview
package containing the VTK package that I was loading.
I have found a second vtk package besides the paraview folder. So I have
loaded it using
import vtk
It seems that all classes are loaded.
Thanks for the tip, I'll use it if one module is missing.
Laurent.
Le 19-03-14 21:55, David E DeMarle a écrit :
> Try this technique from Pat Marion.
> http://markmail.org/message/4kp7cxl2ani25cak
> It should give you access to most or all of VTK, not just the subset
> the ParaView exposes.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Wed, Mar 19, 2014 at 11:19 AM, Laurent Paul
> <laurent.paul at uclouvain.be <mailto:laurent.paul at uclouvain.be>> wrote:
>
> Dear all,
>
> I was using paraview 3.14.1 with python Shell on my old computer.
> I have tested the paraview 4.1.0 on my new computer. It seems that
> some VTK filters are missing in the distributed vtk package from
> paraview 4.1.0.
> Here is the command line used to load the VTK package:
> import paraview.vtk as vtk
> When using
> help(vtk)
> The listed filters are very limited. For example, I want to use
> "vtkTransformPolyDataFilter", and it isn't loaded.
>
> Is there a different way of loading the VTK package?
>
> Thanks,
> Laurent.
>
> --
> <http://www.uclouvain.be/en-index.html>
> <http://www.uclouvain.be/cars> Laurent Paul
> Charge de Recherche
> Computer Assisted and Robotic Surgery
> Institut de Recherche Experimentale et clinique
> Avenue Mounier, 53 bte B1.53.07 B-1200-Bruxelles
> Tel1 0032 27 64 93 88 Tel2: 0032 10 47 25 16 - Fax 0032 10 47 25 01
>
> <http://www.visyos.com>
> Please consider environmental impact before printing documents
>
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140320/0deef93d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 7401 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140320/0deef93d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4140 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140320/0deef93d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 22359 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140320/0deef93d/attachment-0005.png>
More information about the ParaView
mailing list