Hi Giles, thank you for all your posts, there's so much to learn from them. I had a need for quite a lot of hexagonal and square section of odd sizes in short lengths accurate to within a thou or so. In the end it was worth making a little jig for use in a lathe, photos below. It's just a piece of half inch square bar with three holes in it. One 3mm reamed hole right through (a good fit on 3mm stock rod), one tapped hole for the clamp screw that goes onto the setting section (left) and another tapped hole to clamp the workpiece in the guide hole.
The two brass bits to the right slide on to the rod, hex or square as required and are tightened on to it. The clamp sections were sawn off the top of a 13 amp plug prong and then soldered to a nut and a piece of square section with a hole in it. The aluminium section then tightens on the nut or square part to set the angle. To change the angle just loosen off the aluminium clamp, rotate the workpiece and tighten again.
I use it an ordinary toolpost and just screw down on to it.
As you can imagine it takes a little time to make but all the holes are in the same plane and there are no critical measurements, just the workpiece hole to get parallel to the sides to make setting up easy, a rod in the chuck and square off that to the side of the jig. It's very quick and easy to set up and use and worth it if you have a lot of this sort of thing to do.
I use it with a milling cutter in a collet. No doubt a more refined jig could be made but it suffices for my needs. Just as easily clamped in a vice on a milling machine. It's just so easy to insert a length of stock rod and shape as required.
EDIT. As well as making short lengths of hexagonal or square stock it can also be used for making tiny lathe tools out of 3mm silver steel, for example for creating the groove between the square sections of a clack valve. Once the tool is made the jig can be used as the toolholder.
I tend to use it more for toolmaking than anything else at the moment but it was originally intended for the sort of work Giles is doing on things such as injectors. The need was for longer lengths made to exact dimensions to be used in pattern making rather than for making representations of nuts or bolts.