Script who finds corners and makes fillets

Hello, do you have a sctrip that can fillet all corners to the extent that I’ve found 90-degree or 45-degree corners?