Polyline bisectors

Any efficient/ short code to create bisector planes ?


unnamed.gh (9.6 KB)

As bisector plane is direction of segment before + direction of segment after
I’ll do like that. I add a direction for the start and end as your curve is not closed.
I take as implied that segment to vector gives the direction of segment
Also implied that direction is unitized


bissector plane LD.gh (11.9 KB)

1 Like

A geometric construction method: (if I understand correctly?)


bisect_angle_2024Oct3a.gh (16.1 KB)

P.S. As a test, I decided to skew the lines a bit. In the process, I found that your line segments have too many segments (control points) so added the purple group:



bisect_angle_2024Oct3b.gh (18.2 KB)

I believe it will work with a more complex polyline.

P.P.S. Well, I guess not. :frowning: The plane was a distraction, left over from a different method. It is not the guide point (‘P’) wanted by CircleTT. :thinking:

I fooled around more with CircleTT before I gave up on it and reverted to my original plan. Seems to work well in all cases?


bisect_angle_2024Oct3d.gh (27.4 KB)

Is it “efficient/ short code” :question: Debatable but it makes sense to me. :sunglasses:

P.S. I can see that it will fail if line segments are shorter than the circle radius, which is currently the default of 1…

P.P.S. I added a gray group to use either 1 or 0.9 times the shortest segment length for circle radius, whichever is smaller. So it works now with short line segments.
bisect_angle_2024Oct3e.gh (32.4 KB)