Macro Guitar Nut

Description
Guitar Nut Maker (Macro), Python script to create complex nut shape.

This macro creates a nut with the bottom of the string slots at the desired height above a fretboard of the desired radius. Slots can be made wider at the back of the nut then the face, and the slots can be created with the desired break angle. Slots can be on equal centers or have equal space between them. The diameter of each string is configurable and the slots can be made a configurable amount wider than the string to prevent binding. The top of the nut is spherical and can be configured above/below the centerpoint of the strings. The edges of the nut are not shaped, nor is the top contoured from the face to the back, but these transformations can be applied manually in FreeCAD, or indeed after the part has been milled.

Script
GuitarNut.FCMacro