slicerTrame module working example

Hi all (particularly @finetjul, since you’ve been active on this topic),

I’ve been working with 3D Slicer for a few years now. I recently discovered Trame Slicer, and I think it’s a great tool for bringing Slicer to the web.

I’ve been trying to develop a small test tool to explore the basic functionality, but I’m struggling with the code.

I’d like to implement something that allows me to open a DICOM volume, visualize it, and use a few Segment Editor tools. Any advice on how to get started would be greatly appreciated.

Here’s what I’ve done so far:

  1. Downloaded Slicer 5.11.
  2. Installed the Slicer Trame module.
  3. Ran medical_viewer_app.py from the module (I had to avoid using TurboJPEG).

It shows the web interface, but the screen is completely black. The “Open File” button does not work, probably because it’s not intended to work in this example.

How should I continue from here to start loading volumes and using segment editor tools?

Many thanks,

The “Open File” button is supposed to work. What file format are you trying to load ?

Do you see any error listed in the SlicerTrameServer extension log widget ?