Draw a groundplane to project the shadow on. Set the view to parallel projection and set your camera view in line with the projection of the sun rays. Select the geometry that will project the shadow. Run MeshOutline. Set CPlain to view. Select the meshoutlines and project them on the groundplane. These projected lines can then be exported to ai.