Complex joints - only 90° cuts (false reference Plane?) :(

Good evening all

In this project I’m trying to get the red plate connection and the white connection to work without offsets. Both elements should then be cut out of a flat wooden plate. This way a connection would be created which allows to solve a complex knot with simple cuts. Only 90° edges should be created.

Somehow I do not get it right. Probably I have a wrong reference point somewhere. The two generated objects are circled in the Grasshopper.

Thanks for the help.

Voronoi_Connector.gh (330.3 KB)