I make make nuts different ways, line sanding or files, string spacing ruler or math formula, just depends how good the coffee is or what smokes I got. Sometimes I make a nut template. This is handy if a neck doesn’t have a nut. I’m very serious about removing as much material as possible from the top of the nut. Sometimes I make a wooden nut and I can even get the slots too low so I can see what’s going on, and pair it with the half pencil trick. Neck relief still throws off the half pencil trick that’s why you leave plenty of material to work with. The last picture, I fix the guitar and set it up, then make somewhat of a template of the old damaged nut. Removing material from the top and filing the slots, then removing more material from the top of the nut.