Easy. Some sort of magnetized plate, Rob’s metal dice. Why make it more complicated?
Edit. Watched the video really carefully just in case I missed some fatal flaw in my thinking that makes the 3D printing necessary. Apparently not? And I’d bet something like a magnet-cornered printed D20 would start to get really fiddly compared to a simpler steel version.