mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 12:07:06 +00:00
Add support for nano and micro meter units
This commit is contained in:
@@ -447,6 +447,8 @@ class BIMProperties(PropertyGroup):
|
|||||||
area_unit: EnumProperty(
|
area_unit: EnumProperty(
|
||||||
default="SQUARE_METRE",
|
default="SQUARE_METRE",
|
||||||
items=[
|
items=[
|
||||||
|
("NANO/SQUARE_METRE", "Square Nanometre", ""),
|
||||||
|
("MICRO/SQUARE_METRE", "Square Micrometre", ""),
|
||||||
("MILLI/SQUARE_METRE", "Square Millimetre", ""),
|
("MILLI/SQUARE_METRE", "Square Millimetre", ""),
|
||||||
("DECI/SQUARE_METRE", "Square Decimetre", ""),
|
("DECI/SQUARE_METRE", "Square Decimetre", ""),
|
||||||
("CENTI/SQUARE_METRE", "Square Centimetre", ""),
|
("CENTI/SQUARE_METRE", "Square Centimetre", ""),
|
||||||
@@ -462,6 +464,8 @@ class BIMProperties(PropertyGroup):
|
|||||||
volume_unit: EnumProperty(
|
volume_unit: EnumProperty(
|
||||||
default="CUBIC_METRE",
|
default="CUBIC_METRE",
|
||||||
items=[
|
items=[
|
||||||
|
("NANO/CUBIC_METRE", "Cubic Nanometre", ""),
|
||||||
|
("MICRO/CUBIC_METRE", "Cubic Micrometre", ""),
|
||||||
("MILLI/CUBIC_METRE", "Cubic Millimetre", ""),
|
("MILLI/CUBIC_METRE", "Cubic Millimetre", ""),
|
||||||
("DECI/CUBIC_METRE", "Cubic Decimetre", ""),
|
("DECI/CUBIC_METRE", "Cubic Decimetre", ""),
|
||||||
("CENTI/CUBIC_METRE", "Cubic Centimetre", ""),
|
("CENTI/CUBIC_METRE", "Cubic Centimetre", ""),
|
||||||
|
|||||||
Reference in New Issue
Block a user