I've never machined cast but I do protect the way from swarf, when I remember that is, using a roll out blind I constructed. The blind rolls up as the carriage is moved toward the chuck via a cord attached to a weight enclosed in a PVC tube and a couple of pulleys. Been using it for a couple of years now and it still works fine keeping swarf from the bed. There are commercial concertina blinds made of a rubbery material which would do the same job.