I’m wondering if there’s any way to automate a proccess like this one
I have two curves, that could be even a bit more complex that, and I’d like to project the points of the first arc in their normla direction to the next arc
Problem is, when the center of the source arc is before the target one, crossings such as the ones on the image happen, so, manually I could connect project the points in a direction that has a minimal deviation from the normal vector, in a way the lines don’t cross and, even more, they have a minimal spacing, of 15 centimeters, for example
But doing that hundreds of times could prove time consuming, so maybe someone would know how to automate this?
P.S. This is the purple group. The lines are perpendicular to the tangent on the left arc but obviously cross. One doesn’t hit the arc on the right at all.
Maybe @Joseph_Oster already solved it but based off of your original diagram @duckythatlikesturtle, here’s something that gets you close to what you showed on the right:
I was trying to incorporate the same logic @Eef delivered on this situation by finding the average point among all of those that are adequally spaced on the target curve
But I feel I’m still missing a piece
(Also, the filter per distance is for the points too close to the end cause their average position would end up being too far away due to the discontinuity of the curve)
I agree, it looks great. Just be aware that Rebuild Curve uses the default value’ of ten for 'N(number of control points), which might work better with some curves than others. So another parameter in addition to TweenCrv ‘F’ (‘Factor’) that might need to be adjusted.
I also checked the suggestion of @Joseph_Oster about the number in Rebuild Curve. With a setting between 4 and about 12 and moving the sliders it gives more different results to choose from. Downside of this all is the manipulating with a couple of sliders to get what you want, so:
I tried to make it more robust. The tricky part was the TweenCrv because there is no control on how it will look like. And also Rebuild Curve, what made it more smooth is question of trial and error.
So I replaced that with my DIY-inbetween-curve. Made it by
Dividing the original curves with same number
Connect with (poly)line and set MidPoints.
Then made a long polyline (also tried Interpolate but that also gives less control).
Exploded the polyline, set frames on the midpoints. This has two pros:
* using frames makes it useable for non-planar curves.
* less chance that lines will cross in the endresult. (In each intermediate line, the tangents of two consecutive points are averaged)"
Curve | Plane to find the intersection points on curves A and B