I used heat inserts for this, made some minor modifications.
This is the code that generates the model, but I'm fairly sure mountingHoleRadius value for M3 heat insertsshould be different.
include <arduino.scad>
unoDimensions = boardDimensions( UNO );
mountingHoleRadius = 4 / 2;
enclosure(boardType=UNO);

