I want to make a cut into a volume , from an initial sketch S0 up to a certain surface. Problem, the cut, depending on the configuration and dimensions of the model, sometime have to go through a surface A, or a different surface B. How could I make a cut function in Solidworks that goes to the further surface, starting from the surface of the sketch? Something like:
A being the surface A, B the surface B, L the distance from S0 to the limit distance of the cut, and MAX function computing the distance from the initial sketch S0 to the surface A or surface B.
Thank you in advance for your help.