There are 2 kinds of machined knurls on cylinders. Cut and formed. Don’t know which one would be easier to implement and either one would work. OnShape currently only has the ‘wrap’ feature which doesn’t create that pyramid shape for the knurl peak. Using the OnShape’s ‘helix’ and ‘sweep’ features, a knurl can be simulated, but the helixes curved in opposite directions from the same edge don’t have perfect edge alignment. Using this feature is computationaly expensive. In Blender, it is much simpler, but parameteric support is not as nice as OnShape’s. There is a DIN standard for knurling which makes sense for subtractive machining. As someone who is 3D printing these parts, I would adjust the mesh to fit the cylinder and use the DIN standard to maintain the height/width ratio of the pyramid bump.