A planar joint will do this, if you position the joint origin at a point on the outside of the cylinder. Unfortunatley joints won’t automatically snap to a tangent point on a cylinder- that would be ideal. But the Joint Origin tool will allow you to specify a joint origin anywhere in space. If I understand your intent correctly the trick is just getting a joint origin set to be both tangent to the surface of the cylinder and aligned with the axis.
I was able to do this staring from a history free primitive by:
Creating a tangent construction plane on the cylinder. Tangent plane is a funny tool- you may need to click another planar surface you wan the plane to align with, as it orients according to your click.
Creating a sketch on that plane.
Placing a point on the sketch at the cylinder intersection- where the cylinder is tangent to the sketch.
Placing a Joint Origin aligned with the cylinder axis at that point.
Using the joint command and a planar joint.
There may well be an easier path- for instance if you have a sketch defining the cylinder, or use a sketch point at the cylinder center offset by the radius. There are several ideas and strategies in the thread Mark linked to.
- Ron
Mostly Mac- currently M1 MacBook Pro