Grasshopper

Is it possible to project a point on to a curve sideways or in any direction really except vertically? If not, any other way to perform this command…Thank you

@Kirubel , you are most likely after “Evaluate Curve”, “Horizontal Frame”, or “Perp Frame”

Points have a XYZ position in 3D space but no inherent direction, a Vector or Plane has a position and direction, Vectors have starting points and ending points, Planes have origins and axial directions in the form of XYZ.

Essentially a Plane is a point with 3 vectors bundled together.

So when you pull a point to a curve the newly pulled point doesn’t really have a “direction” however, you can use a Vector 2Pt component to input the point prior to being pulled, and the post pulled point as the A,B inputs of the V2PT component and this will give you the direction and length that the point was pulled in reference the curve.

Otherwise use “Perp Frame” component or the others mentioned above to get the “direction” you desire by deconstructing the resulting plane.

If you get stuck please upload a .gh file with data internalized and/or a drawing illustrating what you are trying to accomplish so that we can all help more.

Thanks!

1 Like

Thank you for your replay. I have already tried creating a vector by 2pt but the problem was finding the 2nd point but the good thing is i found another way to project the point that is to extract the z axis from the point i want to project and x and y from the curve i want to project on to. This has done the trick.

Or Crv CP (Curve Closest Point)?

1 Like


Another question i have is, how do i create a proper horizontal and vertical grided panels on a 3d surface like the picture attached in grasshopper. I have already created the horizontal and vertical grids but failed to divide the surface with it to have the panels. I have attached the gh file as well Your help is highly appreciated. Thanks
cbe4.gh (81.3 KB)

It’s not clear to me exactly what you are after but there are also the Pull Point and Project Point components.

I often use the pull point component to get a point on some geometry. I then use Vector2Pt to get the vector direction and distance between the original point and the second, pulled point.

1 Like