This mod is not known to work with the latest version of Kerbal Space Program. Proceed with caution.
This is a vey small plugin. It makes a KSP Part that measures straight line distances by laser.
The "Beamer 100x Disto-o-meter" Part aims a laser in a line and then measures the distance in meters to the first objectthe laser hits. The result is displayed in the right-click menu.
Getting a reading from the laser in kOS:
SET laser_module TO SHIP:MODULESNAMED("LaserDistModule")[0].
PRINT "Laser distance is measuring " + laser_module:GETFIELD("Distance") + " meters."
PRINT "Laser is hitting: " + laser_module:GETFIELD("Hit").
Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.