Try leveraging …
Sketchup::View#pixels_to_model()
Recently we discussed the SketchUp camera and zoom factor in this thread …