Automatic thread-roller machine