I am a fairly new user of 3D Slicer. I was wondering if it is possible to call the “CreateModels” functions of the Slicer IGT module from a python script.
I need to create cylinder models in a more automated way, thus I wanted to combine python and Slicer IGT for this.
A more general questions: Can all the modules be called from python ?
Self tests can be a good place to look to try to find examples of code in use. Here’s one I found which seems to use the IGT create models functionality in a basic way: