An approach for the optical and mechanical design of an X-ray beamline: application to the plane-wave CDI station CATERETÊ/SIRIUS. Issue 1 (1st December 2022)