From 57d44c9066925032a1e86783f0c8355884545411 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 9 Aug 2020 13:26:11 +1000 Subject: [PATCH] Hotfix IfcOpenShell util module --- src/ifcblenderexport/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ifcblenderexport/Makefile b/src/ifcblenderexport/Makefile index c4c9b88c98..5af8052e21 100644 --- a/src/ifcblenderexport/Makefile +++ b/src/ifcblenderexport/Makefile @@ -33,6 +33,11 @@ endif cd dist/working && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcblenderexport/occ_utils.py cd dist/working && mv occ_utils.py ../blenderbim/libs/site/packages/ifcopenshell/geom/occ_utils.py rm -rf dist/working + # IfcOpenBot is outdated, so we hotfix the Python utilities + cd dist/blenderbim/libs/site/packages/ifcopenshell/util && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcopenshell-python/ifcopenshell/util/element.py + cd dist/blenderbim/libs/site/packages/ifcopenshell/util && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcopenshell-python/ifcopenshell/util/geolocation.py + cd dist/blenderbim/libs/site/packages/ifcopenshell/util && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcopenshell-python/ifcopenshell/util/selector.py + cd dist/blenderbim/libs/site/packages/ifcopenshell/util && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcopenshell-python/ifcopenshell/util/unit.py # Provides Python OCC functionality for cutting IFC geometry for construction documentation mkdir dist/working