Here is how the folding stock adapter looks now compared to the initial version.
I still found some optimisations that will add shortly to the model but the current one is 100% working.
I'll add an alternative stock fastening using a central bolt, a nut hole so it sits flush to the top surface and a horizontal stabilizer.
These are only optimisations that I implemented by hand, look closely at the photos posted.
NOTE: This is not military grade, the connection wobbles a little, but in a crossbow is not as important as a gun. It's not rock solid when in use! I improved this a lot by gluing some rubber on the inside to make the connection tighter.
Probably this can be improved a little but I don't want to play with the model too much as usually my printer produces "tighter prints". If I would use my usual tolerances, probably most printers won't handle it too good and you'll need to file it by hand.
I'll add a milimeter on the latch, as I noticed that you don't need to be fully engaged to stick so basically it can't hurt.
Also the lateral screw for the stock, use it on the outside (not as in the photos) as your fingers will suffer otherwise when folding.