// Add X, Y, and Z axes.
 public static void AddAxes(this MeshGeometry3D mesh, double xmax, double thickness)
 {
     mesh.AddAxes(xmax, thickness, true, true, 2, 8);
 }