I am trying to fir a sphere between 4 control points using the script below. I have set my four points using the markups module and when I run the script in the python interactor it generates a new model in the models module but it is not visible and so I am just wondering what I am doing wrong and how do I actually use this script to generate a sphere?
All you need to do is to replace pointListNode by the node that stores your input points (e.g., pointListNode=getNode('F')) and then copy-paste the example code from the script repository.
Hi Andras, thanks a bunch for your help, I realize now that I was using separate markup points instead of putting them all into a single points list which was causing my issue earlier!