Experimental drawing.3dm (2.6 MB)
Hi, Could anyone advise on how to find the precise mid curve between these 2 curves?
Much appreciated,
Si.
Experimental drawing.3dm (2.6 MB)
Hi, Could anyone advise on how to find the precise mid curve between these 2 curves?
Much appreciated,
Si.
First of all. select curves. Rebuilt it to some good amount of points. Loft two curves. Select Surface. Use command extractwireframe. Dis-select mid curve that you want. Delete rest. Delete surface and you will have the curve. Experimental drawing 1.3dm (44.0 KB)
Thanks, just tried that, got the mid line which looked ok then divided it into 10mm incriments and bisected it and the distances are not exact.
In Rhino for Windows I would use TweenCurves with the SamplePoints option. Does Rhino for Mac have TweenCurves?
Use _MeanCurve
command instead TweenCurves
.
Rebuild properly your curves is also a good thing to do.
Also just tried tweens for these curves. Itâ€™s not pretty, and sample point usually deviates from the original curves to begin with (same with rebuild). In my opinion refit should work but itâ€™s ugly. I got exact results by first using fitcrv (to degree 3 angle tolerance 1) on each curve. Then tweening with refit match method.
that which I sent was with tween curves. The process is as such.
Use the FitCrv command on each curve - set to degree 3 and Angle Tolerance 1 (Make sure to delete original curves or put the newly fit curves on a separate layer so you donâ€™t select the old curves on accident when tweening. )
Tween the new fit curves using tween with settings of Number 1 and match method as refit.
That is exactly what I did on your file and got the results I posted.
Everything is depend on curves that you have. If you refined it enough, it will give you required result. TweenCurves was on my find, but I didnâ€™t knew if it works in Mac or how much precision you want. So refine your curve. If I have to do this, I will do it in grasshopper to the extent of precision which is required.
Ok, i do keep rebuilding but curveanalysis keeps showing irregularities in the curves, how do i get them perfectly smooth?
Well averages of curves are not really an exact science. there is not 100% answer like say averaging some points. A lot has to do with curve degree, kinks, control point distribution, weights, knot vectors ect. So more than likely the results will always be an approximation within some tolerance.
Your curves have different control point structures and distribution as they are now. You could try to rebuild each to the same control point count (although this will change the curve shape to some degree) the more points you have the more accurate it should be.
Yes, and thatâ€™s why I mentioned grasshopper. I can divide the two curves in say 1000 points, then make a line between them and then find out there center and then interpolate a curve between them, I can increase this to say 10,000 in a click in grasshopper. So, it will be precise enough. But input curves has to be refined in first place.