hex2rhomb interactively converts the positions of an atom from hexagonal to rhombohedral coordinates (needed in case.struct).
rhomb_in5 interactively helps to generate input case.in5 for rhombohedral systems. It defines a plane as needed in the input file when you specify 3 atoms of that plane.
The sources of these programs are supplied in SRC_trig.