Altimeter and Speedometer

3 votes
Version: 
1.1
Date Updated: 
02/15/2018
Author Name: 
Alexander Chernyh

There are two tools in the max scene - Altimeter and Speedometer. Altimeter shows Z coordinate of the selected object. Speedometer shows speed of the selected object. Both tools are 3dsmax text objects with custom attributes. Custom attributes let you select display units or pick the new object to measure. There are also two slider objects to display altitude and speed in viewport. These sliders might be deleted if there is no need in them.
Script is written in 3ds Max 2016. It will work in all later versions and probably some of the early versions of 3ds Max.

Speedometer and Altimeter distance units: Units, Meters, Kilometers, Centimeters, Millimeters, Miles, Nautical Miles, Feet, Inches
Speedometer time units: Frame, Second, Minute, Hour

If Speedometer units are Nautical Miles/Hour it will be displayed as knots.

'Precision decimals' controls how many numbers will be displayed in value after dot.
For example: (4) ##.####, (2) ##.##, (6) ##.######, (0) ##

Update version 1.1
+ added 'Precision decimals' control for displayed value.

Additional Info: 

How to use it:
1. Merge .max file into your scene.
2. Attach point object pt_SPD_and_ALT_Meter to the object for which you want to calculate speed and altitude
3. Select Speedometer text object. In Modify panel under custom attributes you can choose display units or pick another object for calculations.
4. Select Altimeter text object. In Modify panel under custom attributes you can choose display units or pick another object for calculations.

Version Requirement: 
3ds Max 2016+
AttachmentSize
altimeter_and_speedometer_v1.0.max568 KB
altimeter_and_speedometer_v1.1.max796 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
simacekd's picture

Works well, thank you.

Works well, thank you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.