Customized linear shaft