I have a cylinder and four planes. Two are horizontal and the other two are perpendicular.
I want to automate trimming a surface using a plane. I want to trim the top and bottom of the cylinder using the two horizontal planes, and the left and right side of the cylinder using the perpendicular planes. Manually it is not problem since you click on the side you want to keep or to get ride of, but when it comes to automation I couldn't find a way to select the exact side I want to trim. Is there a way to choose the right side of the plane used for trimming?