CAD system of the ball screws type end-cap designing