Fix #839. Add upstream support for IFCJSON, including compact, v4, and v5a

This commit is contained in:
Dion Moult
2020-08-09 18:10:30 +10:00
parent fb5c25bb68
commit 34fc2136c6
5 changed files with 26 additions and 110 deletions
+7
View File
@@ -267,6 +267,13 @@ endif
# Provides IFCCSV functionality
cd dist/blenderbim/libs/site/packages/ && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifccsv/ifccsv.py
# Provides IFCJSON functionality
mkdir dist/working
cd dist/working && wget https://github.com/IFCJSON-Team/IFC2JSON_python/archive/master.zip
cd dist/working && unzip master.zip
cp -r dist/working/IFC2JSON_python-master/ifcjson dist/blenderbim/libs/site/packages/
rm -rf dist/working
# Provides IFCPatch functionality
cd dist/blenderbim/libs/site/packages/ && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcpatch/ifcpatch.py