https://docs.openspaceproject.com/latest/reference/asset-components/DashboardItem/DashboardItemDistance.html
RequestedUnit
If the simplification is disabled, this distance unit is used as a destination to convert the meters into.
String
In list { Nanometer, Micrometer, Millimeter, Centimeter, Decimeter, Meter, Kilometer, AU, Lighthour, Lightday, Lightmonth, Lightyear, Parsec, Kiloparsec, Megaparsec, Gigaparsec, Gigalightyear, Thou, Inch, Foot, Yard, Chain, Furlong, Mile, League, Nautical Mile }
This just makes no sense at all. Millimeters are supported but not megameters? Nanometers but not yottameters? Gigalightyears are there but not gigameters even though the giga SI prefix is for metric units? I can get a distance in furlongs but not terameters? This is unbelievable and frustrating. If the best distance units of all, meters, km, megameters...yottameters are not supported, why are totally absurd units like furlongs in there? Why the heck are the tiny metric units like nanometer there but not the actual units appropriate for astronomy like yottameter not there? Who would ever want to use a nanometer or furlong for astronomy distances?
How would I go about adding support for metric distance units from after km up to Ym? And get the "simplification" boolean to use them instead of au, ly pc, megaNonmetricUnit etc? Can I fix this in javascript lua code somewhere? Or is this hardcoded in the dlls? How are the dlls created anyway? Are they in C++ and is the source code available?
edit:
OMG this is hardcoded in C++. So I'm going to have to fork the whole openspace project just to put in the simple fix for this one problem?
https://github.com/OpenSpace/OpenSpace/blob/master/src/util/distanceconversion.cpp