Hello All,
I’ve created a Python based plugin (which include a number of new sources and filters) that I routinely use in Paraview (5.7.0, Python 3) successfully.
Recently I’ve attempted to integrate and use these through Visualizer … i.e.
- Copy and update the default proxies.json template with the additional names of my original sources and filters
- Start a local server, linking the python plugin file:
…/pvpython -dr /usr/lib/node_modules/pvw-visualizer/server/pvw-visualizer.py --content /usr/lib/node_modules/pvw-visualizer/dist --port 8080 --data …/data_location --plugins …/paraview_plugin.py --proxies ./proxies.json
The server works well, and the additional names of the sources/filters are shown. But these sources or filters are not functional … i.e. the visualizer icon flashes once when the custom source is selected, and that’s it … (I’ve also tried starting the server without the ‘-dr’ and autoloading the plugin in paraview)
My initial question … can visualizer/pvpython function with Python based plugins (or do I need to develop C++/XML versions)? … or is it something else simple that I have missed??
Thank you to all the contributors to Paraview and it’s tools … it’s an awesome piece of software
Kind regards,
Azure