> Patents are another issue. And trademarks. But you'd even be allowed to "reverse-engineer" eg: a cup (that is, measure it), and print a copy.
I'm not sure that's correct. Patents restrict rights by granting exclusivity on making, using, or selling, so reverse engineering a patented cup and printing it is still in violation of the patent.