Rapid prototyping or layered manufacturing