I have a point on the surface of a brep. I have created a line going from the point and outwards. I want to cut the line at the brep outer most surface (marked in yellow below). Is there a simple way to do this automatically? The shape of the brep is just an example shape. I will need the script to work with different shapes as well.
I know that i can explode the brep and create a line from the point to the plane, however this will demand some manual work that i am trying to avoid.
I know that i can explode the brep and create a line from the point to the plane, however this will demand some manual work that i am trying to avoid.
It’s such a little bit of work to get the intersection of that curve with the brep face and create a new line between the original point & the new intersection point.
Hardly a minute. Though depending on the brep topology you might need a more creative way to get the intersect.
Thank you for your response. However the whole point of the post is that i am looking for a method that will work regardless of the shape of the brep. if the brep is shaped as a triangle, octagon etc, the end surface that i want to use as a cutting plane might not be surface number 3 as you have used in the example.