The Astra simulation code has been successfully used in the design of linac and rf photoinjector systems utilizing beams with azimuthal symmetry. We present recently implemented changes to Astra that allow tracking of beams in beamlines without the assumption of any symmetry. The changes especially include a 3D mesh space charge algorithm and the possibility to import 3D electromagnetic fieldmaps from eigensolver programs.