How would you do it in Rhino? typically this is same way you script it as well. Any workflow is dependent on particular geometry you are working with…