Rebuild a curve such that the tangent is perpendicular

Hi, I wanted to know if anyone knows how to rebuild the curve in yellow so that the tangents at the point of intersection of the beamlines (orange) make 90 degrees with it.

I hope I understood your problem correctly (Iâ€™m just about to go to bed).
I have rebuilt the base curve with a set of bezier spans.
tan_perp.gh (14.8 KB)

1 Like

Need the curves.

Yes, kind of, though as these are coming from the exterior it gets a little but complicated than that attaching the file for reference.

code trial.gh (52.4 KB)
The aim is to change the yellow curve so that at points of intersection with the orange lines, itâ€™s at 90 degrees to it. In the script, the question geometry is in red-colored group.

The aim is to change the yellow curve so that at points of intersection with the orange lines, itâ€™s at 90 degrees to it. In the script, the question geometry is in the red-colored group.
Thankyou in advance.

code trial.gh (52.4 KB)

Try to be more specific, with the given preconditions, the final result can be two concentric circles.

I just want to rebuild the interior curve such that the angle of intersection of these radial lines on the curve is 90 degree

Well â€¦ I have lotâ€™s of â€śsimilarâ€ť things (for defining trusses/membranes/envelopes etc) but are all via code. Given that â€¦ use the attached solely for fun since you canâ€™t change a thing. In this case the angle is related with the â€śouterâ€ť (i.e. the result) Curve (meaning angle of conn line direction VS tangent at conn end pt).

Curve_FromOtherCurve_V1.gh (126.5 KB)

This works with planar crvs (open/closed) in Plane.WorldXY. Notify if you want the general case: Lists of any non planar Curves.

Thankyou for this worked perfectly!