Crack solutions and weight functions for plane problems in three-dimensional quasicrystals