A sample to show how to create local coodinate system.
Set local system type to Cartesian with "Cart", Cylinderical with "Cyl", or Spherical with "Sph". Cartesian is default.
Pick three points orderly on the model. Pick the first point for axes origin, the second one for direction of x axes, the third one to defind XY plane of axes.
Create local system