Skip to content

Commit

Permalink
Update bim/setup_dev.sh
Browse files Browse the repository at this point in the history
- Remove OpenCollada
- Update xeokit-metadata to 1.0.0. which brings metadata for the
  app that created the IFC and more.
- Update installation instructions for .NET runtime which now is
  version 3.1, as required by xeokit-metadata
  • Loading branch information
wielinde committed Jul 8, 2020
1 parent 1051ef0 commit c706eb9
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions modules/bim/bin/setup_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ rm -rf /usr/local/src/bim || true
mkdir -p /usr/local/src/bim
cd /usr/local/src/bim

# OpenCOLLADA
echo "-- Downloading and building OpenCOLLADA --"
git clone https://github.com/KhronosGroup/OpenCOLLADA.git --depth 1
mkdir OpenCOLLADA/build
pushd OpenCOLLADA/build
cmake ..
make -j
make install
popd

# Install COLLADA2GLTF
echo "-- Downloading COLLADA2GLTF --"
wget --quiet https://github.com/KhronosGroup/COLLADA2GLTF/releases/download/v2.1.5/COLLADA2GLTF-v2.1.5-linux.zip
Expand All @@ -51,7 +41,7 @@ rm -rf IfcConvert-v0.6.0-9bcd932-linux64.zip

echo "-- Downloading and building xeokit-metadata --"

wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/0.0.5/xeokit-metadata-linux-x64.tar.gz
wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/1.0.0/xeokit-metadata-linux-x64.tar.gz
tar -zxvf xeokit-metadata-linux-x64.tar.gz
chmod +x xeokit-metadata-linux-x64/xeokit-metadata
cp -r xeokit-metadata-linux-x64/ /usr/lib/xeokit-metadata
Expand All @@ -75,5 +65,10 @@ echo "DONE - BUT! You still need to:
2. install your distribution's version of .NET core:
Select distribution and follow steps at
https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/runtime-2.2.0"
Ubuntu:
- With snap simply install the '.NET Runtime 3.1 (LTS)'
- Add the DOTNET_ROOR environment variable to your .bashrc:
export DOTNET_ROOT=/snap/dotnet-runtime-31/current
Other OSes, check out and install runtime 3.1:
https://dotnet.microsoft.com/download"

0 comments on commit c706eb9

Please sign in to comment.