How to secure a board in a 3D-printed case without mounting tabs

Does anyone know what options there are for mounting boards in a generic 3D-printed enclosure? If the board doesn’t have tabs for screws. With screws it’s clear enough. How do you do it without them?

🇷🇺 Оригинал

Кто знает какие есть способы расположения палат в абстрактном тридэпечатном корпусе? Если у платы нет ушек под винты. С винтами понятно. Как без них?

Clamp the corners with printed corner brackets that are screwed to the enclosure body?

🇷🇺 Оригинал

прижать углоки печатными уголками которые будут прикручены к телу корпуса?

I made guide rails — you slide the board in

Something like this

🇷🇺 Оригинал

Я делал направляющие - задвигаеш плату

Типо того

Corner brackets screwed into the enclosure body work, but they only hold the board at the perimeter, so if the PCB is thin it can still flex in the middle. A better approach is what was mentioned about guide rails: print shallow channels on two opposite walls and slide the board in. That gives full-edge support without needing tabs on the PCB itself. Just leave tolerance for the board thickness and a small lip at the top so it can’t lift out. A dab of hot glue or a screw-down retainer strip keeps it from sliding back.