Arduino Mega + XBee Shield + RAMPS 1.4 Is it possible? Is it possible to sandwich an XBee shield between Arduino Mega and Ramps 1.4 without damaging any of the boards or lose of Ramps functionality ?

I am not trying to make a 3D printer it is rather a completely different project and I am afraid of burning my XBee or losing some functionality of ramps.

Since XBee shield has the form factor of Arduino UNO I had to 3D print the rest of the shield and use some connectors to completely cover the Mega.
Yes, it would seem like folks on the RepRap forums have gotten this to work with the following setup that should work in general:


  Attach the XBee shield to the RAMPS board by attaching 4 pins on AUX-1 (namely, 5V, Gnd, D1 and D0) to the 5V, Gnd, Rx and Tx pins on the XBee Shield
  
  Switch the UART / DLINE switch on the XBee Shield to UART


Source: RepRap Forum: Printing completely wirelessly - can it be done?

This forum thread may also be useful.