Plane tangent, line normal to two intersecting curves

I frequently need a plane which is tangent to two intersecting curves, and/or a line which is normal to two intersecting cuves. My method for creating these is:

  1. Plane with AroundCurve option, around one of the curves, centered at the intersection.
  2. Plane with AroundCurve option, around other of the curves, centered at the intersection.
  3. Intersect the planes to create a line normal to the two intersecting curves.
  4. Plane with AroundCurve option, around the normal line, centered at the intersection.

Presumably this could be scripted. Is there a simpler method?

Hi David - the intersection point, and the curve tangents there should define a plane - I’d say this is scriptable, I’ll see if I can make something work - does that sound like the right plane?

TangentCPlaneAtCrvIntersection.py (1.1 KB)

@davidcockey - see if that helps - it sets a CPlane at the intersection - it could also make a plane object…

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

@pascal I originally created lines tangent to the curves at the intersection, and then created the plane directly from the tangent lines. But I found the method I described above to be easier, particularly when I need a large plane.

File with example of method described above: LinePlaneDC01.3dm (66.6 KB)