Have a look at Tech2c on you tube.He,s just built a core xy,which might suit you better,seeing as you can buy the frame material in oz.
Though I don,t know how much accuracy you,re going to get from even the best 3d printer,I doubt it would be good enough for something as critical as a piston.
You might be better off with a small lathe.