[Grasshopper] How to use Brep | Curve to get intersections between brep models and curves

[Grasshopper] How to use Brep | Curve to get intersections between brep models and curves Grasshopper component EN

This article explains how to use Brep | Curve to get intersections between brep models and curves.

Brep | Curve1
Brep | Curve2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

Retrieve intersection points between Brep models and curves

Using Brep | Curve, you can obtain intersection points between Brep models and curves.

curve and cube on Rhino

For this example, we will use the curve and cube on Rhino in the image above.

Retrieve intersection points between Brep models and curves

Components used: ①BrepCurve ③Brep | Curve

This time, the cube on Rhino is set in Brep, and the curve is set in Curve.

Connect the Brep to the Brep | Curve(B).

Connect the Curve to the Brep | Curve(C).

obtain the points where the Brep model intersects with the curve

Then, as shown in the image above, we were able to obtain the points where the Brep model intersects with the curve.

In this way, using Brep | Curve allows you to obtain the intersection points between the Brep model and the curve.

Output data

Let’s take a look at the output data.

Output data

Additional Component: ①Point

curve is tangent to the exterior of the Brep model

Let’s examine the case where the curve is tangent to the exterior of the Brep model.

intersection curve

If the line is tangent to the exterior of the Brep model, the Brep | Curve(C) outputs the curve data of the intersection curve.

In this case, the intersection point is not output.

交点

Brep | Curve(P) outputs point data for the intersection points.

List of Grasshopper articles using Brep | Curve component↓

Comment

Translate »