QUOTE(roberte @ 10/03/06, 07:14 PM) [snapback]249111[/snapback]
Joojaa,
Well, another answer that requires me to go to school to learn rocket science. lol,
Not realy, very basic calculus taught to most univeristy students. Its not even hard mathematics but just standard curve fitting. If you have ever been tested for anything in a laboratory the laborant allmost certainly did this to you. Not even high grade maths very basic infact.
Now this is this has a underlying problem assoiated with it naughty is getting at.
Se problem is not taht i couldnt snap the points to a line but we are talking of a 3d space here. id need to draw a picture for you to get it fully but. here goes.
Becaus it needs to work on all kinds of options youd need to define how to snap. The snaps you normaly see in different align directions snap along plane to said point. However nothing states thet you dont want to snap it by closest distance. Form the problems description. WORSE yet theese 2 arent the oly acceptable solutions, theres still aunlimited nuber of sane solutions that are sane such as placing them on line by chord length precentage.
then theres the wich curve problem, do you want the outemost poits to define it or is it astandard fit, or is it defined explicitly.
So wich solution you want depends on how you EXACTLY define the problem.
I cont give you amacick answer unell i know wich solution your after. And the computer cant either.
However i can whip up a script the snaps to closest point on curve quite quickly. However you might want to snap in some other metric!
Loke this:
