General:
Please take a look at model/228663 for a detailed explanation of what this is and what’s it for. This versions are probably not as tough as the versions with hex-nuts, but usable.
Preparation:
As my printer produces slightly undersized holes, I do drill out the hole to the correct core-hole-diameter and then tap the thread. It is easier to do this from the underside, so the drill and tap allready are guided before reaching the thin-walled part, especially on the M4 variant.

FreeCAD source:
The FreeCAD-file contains the M4-Variant, but the M3 variant (or any other) can be created by changing the Hole-Feature. The Parameter-object allows to change baseheight, with and length of the T-Nut (within reasonable values).
The author remixed this model.