[NodeEditor] How i can Filet / Chamfer Points (corners) from a Rectangle Node ?

 From:  Smoluck
9666.13 
thanks everyone for your reply.

I ended up with a solution based on Pilou observation via a trim node and few other math nodes, but it still miss the Chamfer node as bemfarmer says.

Edit:
To create the same behavior as a Chamfer node, i used the Filet2 node in Continuity Mode: G2 and a Bulge at 0

EDITED: 31 Jan 2020 by SMOLUCK