Résumé : Computational homogenization techniques nowadays are extensively used to gain a better understanding of the links between complex microstructural features in materials and their corresponding (evolving) macroscopic properties. This requires robust tools to discretize complex microstructural geometries and enable simulations. To achieve this, the present contribution presents an integrated approach for the conformal discretization of complex inclusion-based RVE geometries defined implicitly based on experimental techniques or through computational RVE generation methodologies. The conforming mesh generator extends the Persson–Strang truss analogy in order to deal with complex periodic heterogeneous RVEs. Such an approach, based on signed distance fields, carries the advantage that the level set information maintained in previously presented RVE generation methodologies (Sonon et al. in Comput Methods Appl Mech Eng 223:103–122, 2012. https://doi.org/10.1016/j.cma.2012.02.018) can seamlessly be used in the discretization procedure. This provides a natural link between the RVE geometry generation and the mesh generator to obtain high quality optimized FEM meshes exploitable in regular codes and softwares.