You can just use an inserter to take material out of the miner from any direction.
The sandminer is actually an assembler with no inputs. The modding system didn't really allow me to make a miner without the resource sand, and making patches of sand seemed superfluous.