Modification of geometric models through variational geometry