Intersecting curves with precision

Hello to all with hope all is well. Allow me to present a question.

Within the screenshot are two curve sets in red and dark green. You will also notice a line of camber in cyan.

I would like the camber line to intersect; with precision, end points A, B, C and D.

The control points of the camber line were originally placed at the exact end points of both curve sets. I moved them manually in Ortho mode, but this project will ultimately be prepared for precision machine processing.

Can I get a bit of help? Many thanks…

Hi @Steven_J_Seim,

Its always best to post a file when possible.

The trouble is that the control points of a NURBS curve don’t lie on the curve. Only the two end control points are actually on it — the interior ones pull the curve toward them, but it never reaches them. So putting the camber line’s control points at A, B, C and D was never going to make the curve pass through those points; it only gets close.

What you want is an interpolated curve, which is built to pass exactly through the locations you pick:

  1. Turn Ortho off and turn the End object snap on.
  2. Run InterpCrv and click the leading-edge point, D, C, B, A, and the trailing-edge point.

The resulting curve passes exactly through every one of them.

If you’d rather work from point objects, put a Point at each of A–D (End osnap on), then run CurveThroughPt and pick them in order.

To verify: run PointDeviation, select the four points, then select the camber curve. It reports min/max/average deviation — it should be 0, or well inside your file tolerance.

Two things to watch:

  • Ortho is what let the points drift in the first place. It fights the osnap — leave it off while picking.
  • InterpCrv defaults to degree 3, which gives you a nice fair curve, but with only six picks it can overshoot slightly between stations. If you Rebuild afterwards to smooth it, the curve no longer passes through the points — re-check with PointDeviation if you do.

And since this is an airfoil: if what you actually want is the true mean camber line — the locus of midpoints between the upper and lower surfaces — rather than a curve through those four junctions, TweenCurves between the upper and lower curve with 1 tween curve gives you that directly.

Let me know if this helps.

– Dale

Then I’m not on the white rock. I was coming to conclude I can get very close, but not on the money. In fact, just hacking and going through the options available produced an elegant solution that will result in a terrific horizontal part plane. The results are natural and organic, and what I do from that point is shuffle the components for the optimum fit for precision machine work.

I would be happy to post a file, and the result I found. It’s not right to post and wait, true? You gotta dig.

I drew a curve through the points set to degree 6. (interpolate points option) The result is not exact, but so close and so elegant as to be plenty good enough, and it will produce a very excellent part plane for the resulting CNC machined molds.

I’m happy with the results and will post promptly. I am grateful for your prompt response, and will explore this evening.

You are correct in that this is an aero application, to join with my aggregate work as the quickest model airplanes on this planet; wholly unpowered, the first to exceed 300, 400 and 500 mph in sustained unpowered flight. The geometry is very specific and deliberate. As virtual and physical wind tunnel results from research sponsored by Microsoft Research and EPFL comes around, new work and Rhino will push to the max I think possible, mach .84. Many, many thanks to you and Rhino’s surfacing abilities.

You are in Snohomish? I am in North Bend. Given that McNeel is in Seattle, has there ever been thought towards a Rhino meetup on meetup.com? I’ve been using Rhino since 1.1, and there is no way I even use 30% of its powers all this time to version 8. I’m not a beginner, and I am not an expert. Has there ever been thought to form up a casual meeting to explore specific questions and approaches? Demonstrations and ad-hoc instruction? Only curious. The fact is, a lot is available in easy reach.

Many thanks.