Using Arduino and Rhino3d to "map" a room using serial port data

I would like to send coordinate points from Arduino distance Sensors to draw a 3d model of a room using the serial port data coming from the Arduino. Right now I just want to try 2d but i am building a 3d device to sweep the room. Thanks

Never had a chance to play with a distance sensor just a light sensor, but we did it all with the Firefly plug-in for grasshopper if i remember right.