I described how to square up an approximately square chunk of metal a few years back with my articles on a dovetailed novelty. That was done with a shaper but the same process can be applied to a mill. First you select a good face to start with, the flattest one you have. Put that against the fixed jaw of the vice, with a small diameter round bar lying across the ways of the vice for the workpiece to lie on. Put a piece of thick cardboard, then wood, or customwood against the moving jaw and bring it up against the job and tighten it. The idea is that the relatively soft material will crush in a little and hold the good face against the fixed jaw of the vice. The small round bar under the job prevents that face from trying to alter the angle of the job.
OK, so provided the vice is square this setup will let you machine the top face so that it is at right angles to the face held against the vice. (If the vice is not square it needs attention, I had to adjust one of mine once.) Next step is to rotate the job so that the face we just machines is against the vice jaw and the original best face is downwards. If that face was really good, we can now dispense with the round bar, but we still use the soft packing on the moving jaw. We machine the new top face , and now we have two faces which we have machined and which should be at right angles to each other. The second one should also be parallel to our original best face, and next time we rotate the job that original face will be against the moving jaw, with the first face we machined lying on the ways of the vice. Because of this job should now sit very nicely in the vice, and should not need so much soft packing on the moving jaw side, although if the original best face was not too wonderful a piece of card might still pay. Next cut brings us to three good faces, and after that if the original best still needs cleaning up a little we can turn one more time and do that. We should at each stage make sure the job is tapped down against either the ways or the piece of bar, and in the early stages with the thick packing distributing the load we should make sure the cutting loads are not too excessive and are towards the fixed jaw.
OK, now we have a nice true rectangular cross section, but the ends are still not square. We also have to get it set up to be square to two sides, so we can’t just use the same trick of ensuring that it is square against the fixed jaw. There are several ways to proceed, which is best will depend on the proportions desired, eg cubical or a longer rectangular shape, and also on the machinery.
1 Hold the 4 good sides in the 4 jaw and turn the two ends on the lathe.
2 Hold in the machine vice by the good sides and mill the end with an end mill or slot drill, with the end sticking out the side of the vice. The vice must set true on the table, and the cutter must be long enough to reach the depth…long cutters will flex so this will not give a super accurate end.
3 Put a V block against the fixed jaw in the vice and hold the job in the V block by two of the good faces with the moving jaw against an edge. This requires a V block that is not too big or two small for the particular size of cuboid. It does work quite well, although you may want some packing to stop the vice flattening the edge where the pressure goes on
4 Set the block in the Vice and use a square to line up the other face against the table or the jaw. This is not all that easy to do accurately.
It is not all that easy, even with good gear, to mill (or shape) a really true cube, and mgj is right about using a turned cylinder where a really accurate square is needed, although I would turn the whole thing between centres. If you mike the diameter at each end they should come out the same, if they don’t your centres are not aligned. Which is another fun thing to spend a bit of time correcting!
regards
John