Rotary Module - Hexagonal Pencils

I once did a writeup on using fusion360 for multi sided milling with the rotary module.

I think you could use the same approach for engraving the pencil. It is similar to the first method @Tomi is describing. Fusion does offer a lot more flexibility in cnc machining.