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
A geometric construction method: (if I understand correctly?)
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:
I believe it will work with a more complex polyline.
P.P.S. Well, I guess not. The plane was a distraction, left over from a different method. It is not the guide point (‘P’) wanted by CircleTT.
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?
Is it “efficient/ short code” Debatable but it makes sense to me.
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)