Transform curve with graph mapper keeping end points?

grasshopper
unhandled

#1

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:


#2


#3

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.


#4

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

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


#5

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


#6

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)


#7

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)


Trouble with a simple geometrical problem
#8

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)


#9

Fixed! The key was the sort component!


#10

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


#11

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.