mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +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[
|
LengthUnit = typing.Literal[
|
||||||
"ATTOMETER",
|
"ATTOMETER",
|
||||||
"CENTIMETER",
|
|
||||||
"DECAMETER",
|
|
||||||
"DECIMETER",
|
|
||||||
"EXAMETER",
|
|
||||||
"FEMTOMETER",
|
"FEMTOMETER",
|
||||||
"GIGAMETER",
|
"PICOMETER",
|
||||||
|
"NANOMETER",
|
||||||
|
"MICROMETER",
|
||||||
|
"MILLIMETER",
|
||||||
|
"CENTIMETER",
|
||||||
|
"DECIMETER",
|
||||||
|
"METER",
|
||||||
|
"DECAMETER",
|
||||||
"HECTOMETER",
|
"HECTOMETER",
|
||||||
"KILOMETER",
|
"KILOMETER",
|
||||||
"MEGAMETER",
|
"MEGAMETER",
|
||||||
"METER",
|
"GIGAMETER",
|
||||||
"MICROMETER",
|
|
||||||
"MILLIMETER",
|
|
||||||
"NANOMETER",
|
|
||||||
"PETAMETER",
|
|
||||||
"PICOMETER",
|
|
||||||
"TERAMETER",
|
"TERAMETER",
|
||||||
|
"PETAMETER",
|
||||||
|
"EXAMETER",
|
||||||
"INCH",
|
"INCH",
|
||||||
"FOOT",
|
"FOOT",
|
||||||
"MILE",
|
"MILE",
|
||||||
|
|||||||
Reference in New Issue
Block a user