Hi sebastien, Thanks for your answer. I could add additional filters to ParaView Web by adding them manually to the file protocol.py in ....ParaView 4.1.0\lib\paraview-4.1\site-packages\paraview\web\protocol.py
but I didnot have any success in using "--filter" or "--filters" and addressing it to a *.json somewhere on my machine. I have attached the filtersFile.json I am addressing to with this email. Is there anything I am doing wrong? The server seems to connect : Log opened. Site starting on 8080 Starting factory <twisted.web.server.Site instance at 0x000000000C896548> The index.html seems to be loaded but nothing more is added after. Is there anyway I can fix this ? Also about the --plugin xml reader, is there any tutorial or sample on how to create this xml for my specific reader ? Thanks a lot in Advance On 10 June 2014 16:37, Sebastien Jourdain <[email protected]> wrote: > Hi, > > to add filters in the list if available one you will need to use an extra > argument when you run the pvpython command line. > > You should use the "--filter" shown here > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/paraview.web.pv_web_visualizer.html > with a file that has a content similar to that > > [{ > 'name': 'Cone', > 'icon': 'dataset', > 'category': 'source' > },{ > 'name': 'Sphere', > 'icon': 'dataset', > 'category': 'source' > },{ > 'name': 'Wavelet', > 'icon': 'dataset', > 'category': 'source' > },{ > 'name': 'Clip', > 'icon': 'clip', > 'category': 'filter' > },{ > 'name': 'Slice', > 'icon': 'slice', > 'category': 'filter' > },{ > 'name': 'Contour', > 'icon': 'contour', > 'category': 'filter' > },{ > 'name': 'Threshold', > 'icon': 'threshold', > 'category': 'filter' > },{ > 'name': 'StreamTracer', > 'icon': 'stream', > 'category': 'filter' > },{ > 'name': 'WarpByScalar', > 'icon': 'filter', > 'category': 'filter' > }] > > Regarding your file opening issue, this is more complicated. > I believe that ParaView has several reader for that file extension and > inside ParaView, you have a popup window asking you which one. > Which we don't have in pvw. You may want to create a custom reader > definition (XML file that you load at startup using --plugin ) with a > unique extension that use the proper reader for your custom file extension. > > Seb > > > On Tue, Jun 10, 2014 at 4:45 AM, Hedieh E <[email protected]> > wrote: > >> Hello, >> >> I setup a quick start to ParaView Web. I have a question. In ParaView I >> have no problem opening my (*.h5) file using PFLOTRAN hdf5 reader. >> >> In ParaView Web I have put my datafiles (*.h5) in the Share folder as It >> was mentioned in the guide. ParaView Web doen´t open my *.h5 while it >> works fine opening other data files. >> >> Is there anything aditional I should do for my *.h5 files to open in >> ParaView Web ? >> >> Also one more questions, where can I find all filters that exists in >> ParaView ? When I try to apply a filter on my datasets in ParaView Web, I >> only see a few basic list of filters. How can I improve my experience with >> ParaView Web ? >> >> Thanks a lot. >> >> >> _______________________________________________ >> Powered by 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 >> >> >
filtersFile.json
Description: application/json
_______________________________________________ Powered by 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
