mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
feat: Sort the available length units numerically
Length units are now sorted ascending by the value the prefix represents, i.e. METER is listed before KILOMETER, ...
This commit is contained in:
committed by
Dion Moult
parent
fad4ea82a7
commit
f83a7ac730
@@ -28,22 +28,22 @@ import typing
|
||||
|
||||
LengthUnit = typing.Literal[
|
||||
"ATTOMETER",
|
||||
"CENTIMETER",
|
||||
"DECAMETER",
|
||||
"DECIMETER",
|
||||
"EXAMETER",
|
||||
"FEMTOMETER",
|
||||
"GIGAMETER",
|
||||
"PICOMETER",
|
||||
"NANOMETER",
|
||||
"MICROMETER",
|
||||
"MILLIMETER",
|
||||
"CENTIMETER",
|
||||
"DECIMETER",
|
||||
"METER",
|
||||
"DECAMETER",
|
||||
"HECTOMETER",
|
||||
"KILOMETER",
|
||||
"MEGAMETER",
|
||||
"METER",
|
||||
"MICROMETER",
|
||||
"MILLIMETER",
|
||||
"NANOMETER",
|
||||
"PETAMETER",
|
||||
"PICOMETER",
|
||||
"GIGAMETER",
|
||||
"TERAMETER",
|
||||
"PETAMETER",
|
||||
"EXAMETER",
|
||||
"INCH",
|
||||
"FOOT",
|
||||
"MILE",
|
||||
|
||||
Reference in New Issue
Block a user