Parametric ball and socket with internal socket
The purpose of this model is to create ball and socket joints to include in other models. This will enable you to easily manipulate the relevant parameters so you can print and test a variety of configurations.
The basic design philosophy is to ensure this can print without supports. The ball part of the joint is cut off before any overhangs reach 45 degrees. For the socket side, the internal structure is teardrop shaped rather than spherical. Again, this prevents the need for printing supports.
The parameters are:
ball_radius = Outer radius of the ball part
wall_thickness = Wall thickness of the ball part
slot_width = Width of the slots along the ball part
socket_gap = Gap spacing between the ball and socket
socket_fraction_enclosed = Fraction of the socket radius to be enclosed