Target valency remeshing

Hi,
I’m using mesh machine to have a good triangulation of my mesh but I was wondering if I can set target valency for my edges in order to control triangulation. I want to have a triangulation where on specific edges the target valency is 3 and 5 while on other edges it should be 4. I took as reference a work from Rippmann and Block and I would like to reproduce something similar in Grasshopper.

Thank you,
Marinella