I can reccomend following video on 3d printing electrical enclosures:
https://www.youtube.com/watch?v=9ERY20MRJPo
Perhaps it might be interresting to implement the ideas in YAPP. (eg. chamfered standoffs, THT lead pocket instead of standoffs, corners,...)