Replies: 9 comments 18 replies
-
Well if you were using trame-cookiecutter, you will get a docker bundle already done for you that take care of that part and more. To answer your question the endpoint should still be "paraview" and the "properties" group can be empty. Those are just to reduce your command line sections. Also you should run it like |
Beta Was this translation helpful? Give feedback.
-
Hi, Sebastian: Thanks for your reply. Redring using javascript and vtkweb, kitware has example. But if can add some example how to lauch vtk_server.py for multiple user that would be wonderful. Another example is when I launch trame example, saw message "Note that for multi-users you need to use and configure a launcher." Totally have no idea what to do at the beginning. After spend a few weeks, on vtk.web, and trame, I guess I many need to run wsline/laucher.py mylauncer.config. But just still couldn't find an example. Have to try. Best |
Beta Was this translation helpful? Give feedback.
-
Hi, Sebastian: Thanks for all the information. Trame did have big advantages. Though I did not test the deployment, I feel trame deployment documentation is solid. But java script( for examle angular ) as UI, do visualization using vtk remote rendering also had it clearly advantage. |
Beta Was this translation helpful? Give feedback.
-
do you mean I can use trame bundle to depoly : https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html, this example? |
Beta Was this translation helpful? Give feedback.
-
for web_cone, https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html. I hard code 1234 in client, and not using launcher, it works. If use launcher, I got below error, I have the command I run, config file and client code at the end of letter( why I got 9999/paraview, should not be 8080/paraview)
:9999/paraview/:1 ######## command I run launch.config :{
}
import 'normalize.css'; import SmartConnect from 'wslink/src/SmartConnect'; import RemoteRenderer from 'paraviewweb/src/NativeUI/Canvas/RemoteRenderer'; document.body.style.padding = '0'; const divRenderer = document.createElement('div'); divRenderer.style.position = 'relative'; // const config = { sessionURL: 'ws://localhost:1234/ws' }; |
Beta Was this translation helpful? Give feedback.
-
I just could not find any example to make the web_con remote rendering work using launcher for multiple connection. And since it is server-side rendering, multiple connection is mandatory. Surprisingly, could not find single example |
Beta Was this translation helpful? Give feedback.
-
If I check the browser, I got this. Of course 9999 cannot find. Request URL: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
Want to ask how to prepare configuration file to launch vtk_server.py at https://kitware.github.io/vtk-js/examples/RemoteView.html
I spend quite a lot of time to search and found out
1, I need to run python.exe some_folder/wslink/launcher.py laucher.config.
2, and I know on client side, java script, I need to give url using applition name instead of fixed port number.
But I don't really understand the example config file in launder.py:
1, for endpoint below, should I still give paraview
2, for propeties: how many below should I give? I guess only I can skip for paraview related.
"properties" : {
"vtkpython" : "/.../VTK/build/bin/vtkpython",
"pvpython" : "/.../ParaView/build/bin/pvpython",
"vtk_python_path": "/.../VTK/build/Wrapping/Python/vtk/web",
"pv_python_path": "/.../ParaView/build/lib/site-packages/paraview/web",
"plugins_path": "/.../ParaView/build/lib",
"dataDir": "/.../path/to/data/directory"
},
Based on my searched, I maybe able to debug launer.py to continue to try, but can somebody help of provide one configure example which can launch vtk_server.py. I imagine it will be much less the the example in launcher.py.
Best
Beta Was this translation helpful? Give feedback.
All reactions