Josh Hughes 3d printed a fully working No. 2 pencil. He used a type of wood PLA with a standard graphite insert.
Josh wrote:
Next time I will use an electric sharpener. I was worried the heat from sharpening it with and electric sharpener would melt the plastic.
Anyhow, The body of the No. 2 pencil is HatchBox Wood PLA, and the eraser connection is Protopasta's HTPLA Carbon Fiber.
The "No. 2" was laser-engraved on the face of the pencil after it had finished printing, and all of the components were superglued together.