Integrate ifccityjson in BlenderBIM (#1859)

* ifccityjson-BB integration: include CJIO in makefile

* Add ifccityjson to BlenderBIM

* Make ifccityjson work like a package

* Use pip while installing CJIO dependency for ifccityjson

* revert removal of brick module

* Changes from pull request review

* Use ifccityjson as CLI and as package for BlenderBIM
This commit is contained in:
Laurens Oostwegel
2021-11-08 22:51:30 +01:00
committed by GitHub
parent de7c54b771
commit ff6db5f24d
11 changed files with 185 additions and 19 deletions
+10
View File
@@ -134,6 +134,8 @@ endif
# Provides IFC5D functionality
cp -r dist/working/IfcOpenShell-0.7.0/src/ifc5d/ifc5d dist/blenderbim/libs/site/packages/
rm -rf dist/working
# Provides IFCCityJSON functionality
cp -r dist/working/IfcOpenShell-0.7.0/src/ifccityjson dist/blenderbim/libs/site/packages/
# Provides Mustache templating in construction documentation
mkdir dist/working
@@ -259,6 +261,14 @@ endif
mkdir dist/working
cd dist/working && wget $(HPPFCL_URL)
cd dist/working && tar -xf hpp-fcl*
# Required by IFCCityJSON
mkdir dist/working
cd dist/working && python -m venv env
cd dist/working && . env/bin/activate && pip install cjio
cp -r dist/working/env/Lib/site-packages dist/blenderbim/libs/site/packages/
rm -rf dist/working
ifeq ($(PLATFORM), linux)
cp -r dist/working/lib/$(PYLIBDIR)/site-packages/hppfcl dist/blenderbim/libs/site/packages/
cp -r dist/working/lib/*.so* dist/blenderbim/libs/