3D rendering of segmentations without Slicer GUI

Hello Slicer community.

Is it possible to generate 3D renderings like these by calling Slicer’s functions from a Python environment, without having to load Slicer’s GUI?

I tried doing these through VTK Python, but I could not get a very smooth rendering that Slicer manages to do.

Thanks in advance!

There’s a long thread on rendering. These approaches should all work with the --no-main-window and --python-script options Slicer options.