BetaBetaBetaWorks out a diametral pitch knurl's grooves on a cylinder: how many, the diameter they track on, how deep B94.6 presses them and their angle to the axis.
A blank needs 24 teeth round it at 64 and 96 DP, 18 at 128 and 15 at 160. Example: 0.5 at 96 DP -> 48 grooves, 0.016 deep
The diameter, the diametral pitch, the pattern and the unit
The grooves, the diameter that tracks and the depth in unit, and the helix angle
The grooves of ASME B94.6 diametral pitch knurls on a cylinder, with no CAD kernel needed, in the unit asked for.
occt.parts.mechanical.machining.ansicuts them into a body.