Project Vector to Plane or Frame

Hi everyone,
in our compas_timber development, I used a function for projecting a vector to a frame or plane, which I created for myself. It’s a simple vector product & addition. As far as I know, it doesn’t exist yet in compas. I thought maybe this functionality could be added to compas.geometry because it could be useful for others too.

νproj = xaxis (xaxis ⋅ ν) + yaxis ( yaxis ⋅ ν)
v = vector / xaxis = plane’s xaxis / yaxis = plane’s yaxis

Can you give a standalone code example where it is used?