Transform curve with graph mapper keeping end points?

Hi,
I believe this is a quick one, but I can’t figure it out, suppose I have a 45 degree curve from 0,0,0. And I want to control its curvature with a conic graph mapper, but keeping the start and end points. Like so:

1 Like

Hey Jospeh

I think I didn’t explain myself clearly, I need to be able to conserve previous end points of an already existing curve.

Posting a model is the best way to express yourself clearly.

It doesn’t matter if the curve is a straight line or not…

2 Likes

Couldnt you dispatch item no 0 and -1 of the points and later merge them together to make the curve?

Thank you Joseph. I had not model because I reduced my problem to its core elements. I was able to apply the model to any curve in space, but I am afraid I did not take into account that the direction of the curve matters. If you have any ideas I would much appreciate it.

Graph Mapper Curves.gh (47.8 KB)

1 Like

Please understand. If you had posted this model originally as your goal, giving 3D context to the problem, your goal would have been SO MUCH CLEARER!!!


Graph_Mapper_Curves_2018Mar27a.gh (42.5 KB)

1 Like

I understand Joseph, I apologize. Simplified the problem a bit too much.

This is the expected result. I did this fast for visual purposes by doing the curves both ways and then culling out the ones that did not coincide with the end points. I believe any other solution to be more efficient and clean.

Graph Mapper Curvesre.gh (46.9 KB)

Fixed! The key was the sort component!

Hope you had fun. I have no idea what you’re doing and am not about to replicate your code from a screen shot. I know better than to respond to threads where no code is posted with the original question (which was vague and misleading in this case).

I disagree, I already explained the approach to the problem, reducing it to its core elements. (Which in the end worked). No model was needed/relevant because I was looking for a grometrical solution that I didnt had. You can see that when a model was relevant it was uploaded.

But in any case I just uploaded in case you were interested in the solution and result, and for other people that might find it helpful of course.

Its ironic that you actually helped me a lot more without a model and a simplified question than when I uploaded it with a more complex one. Thank you for that.