@lassoan Thanks for the example. slicerio
seems like it could indeed facilitate the use case described. Unfortunately, I’m unable to get it working.
Running below gives following results:
slicerio.server.file_load(r"...\mesh.ply", slicer_executable=r"...\path\to\Slicer.exe")
- 5.0.3: application starts, but nothing loaded; eventually receive
requests.exceptions.ConnectTimeout: Timeout while waiting for application to start
- 5.1.0 nightly:
AttributeError: 'WebServerLogic' object has no attribute 'enableCORS'
We could add a command for updating a node from a file
I think that would be helpful, indeed.
Edit:
Just saw in slicerio.server.start_server
that version 5.2 is required…