mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Add support for square and cubic decimetre units
This commit is contained in:
@@ -229,22 +229,15 @@ endif
|
||||
rm -rf dist/working
|
||||
|
||||
# Required by IFCClash
|
||||
mkdir dist/working
|
||||
ifeq ($(PLATFORM), linux)
|
||||
mkdir dist/working
|
||||
cd dist/working && wget https://files.pythonhosted.org/packages/0c/fa/00d85f893b02289e2942849d97f8818dde8e2111182e825fb3a735677791/python_fcl-0.0.12-cp37-cp37m-manylinux1_x86_64.whl
|
||||
cd dist/working && unzip python_fcl*
|
||||
cp -r dist/working/fcl dist/blenderbim/libs/site/packages/
|
||||
rm -rf dist/working
|
||||
endif
|
||||
|
||||
# Required by IFCClash
|
||||
ifeq ($(PLATFORM), win)
|
||||
mkdir dist/working
|
||||
cd dist/working && wget https://files.pythonhosted.org/packages/19/e6/6e9f33fb59e8f27c0e1592bd26e644bc92b85c942b072b2d3854105d5887/python_fcl_win32-0.0.12.post3-py3-none-win_amd64.whl
|
||||
endif
|
||||
cd dist/working && unzip python_fcl*
|
||||
cp -r dist/working/fcl dist/blenderbim/libs/site/packages/
|
||||
rm -rf dist/working
|
||||
endif
|
||||
|
||||
# Required by BIMTester
|
||||
mkdir dist/working
|
||||
|
||||
@@ -448,6 +448,7 @@ class BIMProperties(PropertyGroup):
|
||||
default="SQUARE_METRE",
|
||||
items=[
|
||||
("MILLI/SQUARE_METRE", "Square Millimetre", ""),
|
||||
("DECI/SQUARE_METRE", "Square Decimetre", ""),
|
||||
("CENTI/SQUARE_METRE", "Square Centimetre", ""),
|
||||
("SQUARE_METRE", "Square Metre", ""),
|
||||
("KILO/SQUARE_METRE", "Square Kilometre", ""),
|
||||
@@ -462,6 +463,7 @@ class BIMProperties(PropertyGroup):
|
||||
default="CUBIC_METRE",
|
||||
items=[
|
||||
("MILLI/CUBIC_METRE", "Cubic Millimetre", ""),
|
||||
("DECI/CUBIC_METRE", "Cubic Decimetre", ""),
|
||||
("CENTI/CUBIC_METRE", "Cubic Centimetre", ""),
|
||||
("CUBIC_METRE", "Cubic Metre", ""),
|
||||
("KILO/CUBIC_METRE", "Cubic Kilometre", ""),
|
||||
|
||||
Reference in New Issue
Block a user