What is the way to find the best possible fit of a drawn curve to measured data? The situation is as following: A certain curve is drawn, from which a series of pipes are bent. These pipes are then measured at certain points and read back into Rhino to compare it with the original curve. But in order to do this, the original curve has to be manually fit to the measured points, before there can be made a point deviation calculation.
Putting the ends on top of the end points for example could give 0 deviation at the ends, but too much in the middle of the curve, while it might be the case that by placing the curve differently the deviation at the ends can become somewhat larger, but keeps the deviation at other points lower and so lowering the overal average deviation.
In the attached you see an example of a curve and the measured points with a quick manual fit. Most likely not the optimum solution.
min_deviation.3dm (3.2 MB)