1. A method of generating a model of a physical fastener, comprising: receiving, by a computer-aided design (CAD) system, one or more instructions identifying a geometric entity associated with a target socket; generating, by the CAD system, an original, base fastener model comprising aspects of the geometric entity and one or more associated elements, the one or more associated elements depending on the geometric entity and characteristics of a socket model of the target socket.