TexGen is a software package developed at the University of Nottingham for modelling the geometry of textile structures. TexGen has been used by the Nottingham team as the basis of models for a variety of properties, including textile mechanics, permeability and composite mechanical behaviour.