For mounting your Raspberry Pi Zero inside of your prototype device. Pi Zero W fits as well. Gives free access to the GPIO pins while protecting against impact. Open for the camera cable. Comes with or without hole for the micro SDHC card using alternative models. Can easily be covered using a LEGO lid with some space for venting hot air and letting out a 40-pin GPIO cable. The GPIO cable may be blocked if your M2 screws are higher than 4mm, in which case you can connect wires directly.
Legal note: LEGO lost a court case where it was decided that the standard itself cannot be copyrighted because it had mathematical features more suitable for a patent, which would've expired a long time ago if they would've filed for one. According to copyright law, it's okay to print parts compatible with LEGO, but not print a part of a standard design that would violate LEGO's copyright. The LEGO mounts do not immitate the design of LEGO in any other way than the dimensions needed for compatibility. Law is always fuzzy and changing, but this part is certainly both legal and ethical to print by promoting fair competition with better products in robotics.