A commonly used design is to integrate an articulation feature into the cross section. Up to 180º movement can be achieved with just two profiles.
If greater movement is required, it can be done by introducing more details. The joints can be both fixed and separable depending on the design.

