Mechanical devices that can be illuminated