This is a replacement diffuser for a regular nightlight. I've been using the pictured part with an LED bulb for a couple of years now without any problems.
I never tried it with an incandescent bulb so I don't know if it could withstand the heat. Also it would depend on the filament you use. Try it at your own risk and don't set your place on fire!
I used clear PETG to print it, no supports needed. There are tricks out there how to make the print more clear but printing it with regular settings diffuses light nicely.
The author marked this model as their own original creation.