Dear all,
I’m trying to find the normal vector of a curve (YZ planar curves) at a list of point coordinates. I’ve been digging in the forum and there are a couple of proposed solutions but I can’t make it work.
I’m currently using Curve Closest Point > Curvature
The surfaces which are generating the cross sections are straight but the goal is to evolve for curved surfaces.
Normal of curve at point.gh (14.9 KB)
Normal of curve at point.3dm (119.5 KB)
Could you help? Thanks
Hello
there is no normal on a curve but an infinity. You can have the plane containing the normals it is names a Frame.
But looking at your images you can also use Brep Closest Point, it will give you the normal of the Brep.
1 Like
@laurent_delrieu, maybe I did not articulate myself very well.
Nonetheless, I’m using first CCX (curve curve intersection) to retrieve the point coordinates that I need. Then using those to feed Brep CP (closest points) as suggested. I’m just having difficulties properly matching the sizes of trees to retrieve the normal vectors of the Breps at the correct coordinates. Attached an update of my .gh file.
Normal of curve at point V2.gh (22.7 KB)
Here is a way, not 100% sure it is the good datastructure. But seems to work
Trim tree is here to have a datatree with just data for each Brep on a branch. So Brep closest point is well used.
Normal of curve at point V2 LD.gh (22.7 KB)