From my understanding of the documentation and this comment from the man himself, yes unless you need the slicer modules. SlicerPython is like a prepackaged virtual environment, it includes vmtk and can be run from cmd but you’ll need to have the user interface open for access to slicer.app, slicer.mrmlScene, slicer.modules, slicer.moduleNames. You can also use other flags to help your automation routine like --no-main-window and --exit-after-startup.
wesselk
(Kyle)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Using vmtk scripts within Slicer with vmtk-extension | 2 | 748 | February 9, 2024 | |
| How to Install VMTK in 3d Slicer? | 1 | 899 | January 22, 2021 | |
| VMTK library is not found and extensions are imcompatibe with slicer (MAC and Win, 4.13.0 built 2021-08-11 ) | 2 | 324 | August 12, 2021 | |
| SlicerVMTK is not available | 0 | 206 | April 27, 2021 | |
| VMTK tool 3D slicer | 1 | 23 | February 27, 2026 |