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)
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!