rteuman
(Rteuman)
November 19, 2022, 12:27am
1
Hello All,

I have a set of curves and points in Rhino. I’m not dividing the curves in GH to get the points and the spacing is different on each.

What I would like to have is to get the vector that is perpendicular to each of these curves, and draw a curve in that perpendicular direction, starting from these points.

So this is what it would look like at the end:

For the corner points, I would like to generate a bisecting curve like this:

How can I achieve this? Thank you all in advance. Here is the GH file with internalized geometry:
drawperpcurveonpoint.gh (10.1 KB)

Best,
Renan

John_Brock
(John Brock)
November 19, 2022, 1:58am
2
Moved to Grasshopper category.

1 Like

kev.r
(Kevin)
November 19, 2022, 4:29am
3
Here’s one way:

drawperpcurveonpoint_221118_re.gh (12.3 KB)

-Kevin

2 Likes

kev.r
(Kevin)
November 19, 2022, 7:33pm
4
Noticed that previous definition didn’t work if the direction of the curve was reversed. This corrects that shortcoming.

drawperpcurveonpoint_221118_re2.gh (15.8 KB)

Different logic would be needed if lines don’t form a closed curve.

-Kevin

1 Like

rteuman
(Rteuman)
November 19, 2022, 11:06pm
5
Hi Kevin,

This is awesome, thank you so much!!!

Renan