I am looking to find python code to create modules. For example I know there is a post describing how to use an AI-assisted brain tumor segmentation but I would like to know where to find other open-source scripts/code that create models (modules other than seed grow or thresholding). So, where is the best place to look or best way to search for python modules. As another example, is there maybe a scripted module to best create a model of a kidney? Any suggestions would be much appreciated.
@lassoan
Is there a specific section of the available python code for 3D Slicer to find how to create module buttons, sliding bars, open regions for typing names and such?
We recommend to use Qt designer for this. You can create a new scripted module using the Extension Wizard module then click “Edit UI” in the header of your module to edit its GUI using Qt Designer.
There are tutorials (I would recommend the PerkLab bootcamp Slicer module development tutorial). However, Qt and VTK are large toolkits so you cannot learn them from Slicer tutorials but you need to study their excellent tutorials and documentation.
Thank you very much!