Match command

Hello,

I want to match the end of a curve tangent to a point on another curve.
When using the “match” command, I can pick “MatchTo=PickPoint” as an option and it’s doing what I expect except I can’t control the direction of tangency. The tangency is nevertheless changing, depending on the position of the PickPoint closer to one or the other end of the target curve. The center is not the switchpoint of the tangent direction nor can the “flip”-command change the direction.

Helpful would be a button to change the matching direction on the curve.

Regards,

Reinhard

1 Like

Hi Reinhard - indeed, I have found this option to be almost completely useless as implemented.

You can, tediously, get some control by tricking Rhino with SubCrv - when asked to select the curve to match, type _SubCrv and Enter, select the target curve and drag a sub-curve along it, ending at the point you want to match. The direction used to get to that end point of the sub curve will determine the direction.

RH-38150 Match on curve, drag match point

RH-29606 Match: On curve

@Reinhard_Müller Here is a python that may do the job for now -

MatchOnCurve.py (7.3 KB)

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

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

Also, @Reinhard_Müller - I just remembered there is an unsupported test command, MatchCrv that you can try - it does allow dragging and much better adjustment but not flipping - I would try that.

-Pascal

2 Likes

Hi Pascal,

never used the SubCrv command before but it does the trick! Thanks!

Reinhard