Casting and forming machines, shaking and pressing