Cugen is presented, a modular procedure for synthetic data generation, capable of creating multidimensional clusters supported by line segments using arbitrary distributions, and has the potential to be a widely used framework in diverse clustering-related research tasks.