Is it illegal for a friend to copy a patented mechanical machine and I sell it for him?
It is difficult to define. The key depends on whether your friend's imitation machine has applied for a patent. If not, you have a patent right, so there is no infringement. In addition, it is best to get the authorization of friends before selling; If it's an individual, call your friend's company for sales.