Macros for parts creation

I’d like to see macros that remember sequences of operations for doing minor tasks like quick creation of common parts such as bent pipes or machine parts.