This plugin can be used to cluster the faces of a mesh into a specified number of similar shapes and then optimize faces within the same group into congruent forms.
Polyhedral 3D Graphic Statics (3GS is an open-source research and development platform for 3D graphic statics based on polyhedral reciprocal diagrams built with COMPAS.