Multipurpose diffractometer for the collection of wide-angle (WAXS) and small-angle diffraction (SAXS) data on bulk materials, powders, thin films, epitaxial layers, in reflection, grazing incidence and transmission geometry, on flat samples or capillaries.