In theory a straight sided spline locates, and drives on, the flanks of the splines. Neither the OD or ID play a part. However, unlike involute splines straight sided splines are not self-centreing. So depending upon tolerances the OD or ID may in practice provide a limit to radial movement.
Rather than try and measure the angles it'll be much simpler to do the maths, or draw it out in CAD.
Commercial cutters are available for straight sided splines, but tend to be for larger splines than MEs would require. When I needed to cut the splines on my traction engine crankshafts I made my own spline cutter:

The splines were cut on the horizontal mill using a dividing head for indexing:

Note that the mechanism is not rusty, it's a trick of the light fooling the camera!
Andrew