First time poster, so please bear with me. I am looking to utilize Grasshopper to rotate a 5 axis machine spindle. I’m running into an issue with collision checking. I want to take a polysurface (milling bit) to a location then systematically rotate the bit and check for collisions with the model. I know how to do this in other programs like Unity using C#. It’s seemingly harder in Grasshopper without having “if/then” or “looping” nodes.
Attached is an image of what I am looking to do. I’m not looking for someone to solve this problem for me, but more or less just point me in the right direction. I’m under the impression that this is something that should be handled by a C# or VB script. My goal is to come up with a solution that does not rely on surface directions from Rhino objects as some of the objects I plan to use this on may be meshes or even point locations.