diff --git a/src/blenderbim/docs/devs/installation.rst b/src/blenderbim/docs/devs/installation.rst index f305d2fbd2..feaa2b5180 100644 --- a/src/blenderbim/docs/devs/installation.rst +++ b/src/blenderbim/docs/devs/installation.rst @@ -99,6 +99,24 @@ For Linux or Mac: $ ln -s $PWD/src/ifcopenshell-python/ifcopenshell/api $BLENDER_ADDON_PATH/libs/site/packages/ifcopenshell/api $ ln -s $PWD/src/ifcopenshell-python/ifcopenshell/util $BLENDER_ADDON_PATH/libs/site/packages/ifcopenshell/util + # Remove and link other IfcOpenShell utilities + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifc4d + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifc5d + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifccityjson + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifcclash + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifcpatch + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifctester + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifccsv.py + $ rm -r $BLENDER_ADDON_PATH/libs/site/packages/ifcdiff.py + $ ln -s $PWD/src/ifccsv/ifccsv.py $BLENDER_ADDON_PATH/libs/site/packages/ifccsv.py + $ ln -s $PWD/src/ifcdiff/ifcdiff.py $BLENDER_ADDON_PATH/libs/site/packages/ifcdiff.py + $ ln -s $PWD/src/ifc4d/ifc4d $BLENDER_ADDON_PATH/libs/site/packages/ifc4d + $ ln -s $PWD/src/ifc5d/ifc5d $BLENDER_ADDON_PATH/libs/site/packages/ifc5d + $ ln -s $PWD/src/ifccityjson/ifccityjson $BLENDER_ADDON_PATH/libs/site/packages/ifccityjson + $ ln -s $PWD/src/ifcclash/ifcclash $BLENDER_ADDON_PATH/libs/site/packages/ifcclash + $ ln -s $PWD/src/ifcpatch/ifcpatch $BLENDER_ADDON_PATH/libs/site/packages/ifcpatch + $ ln -s $PWD/src/ifctester/ifctester $BLENDER_ADDON_PATH/libs/site/packages/ifctester + # Manually download some third party dependencies $ cd $BLENDER_ADDON_PATH/bim/data/gantt $ wget https://raw.githubusercontent.com/jsGanttImproved/jsgantt-improved/master/dist/jsgantt.js @@ -143,6 +161,23 @@ Before running it follow the instructions descibed after `rem` tags. mklink /D "%blenderbim%\libs\site\packages\ifcopenshell\api" "%cd%\src\ifcopenshell-python\ifcopenshell\api" mklink /D "%blenderbim%\libs\site\packages\ifcopenshell\util" "%cd%\src\ifcopenshell-python\ifcopenshell\util" + echo Remove and link other IfcOpenShell utilities... + rd /S /Q "%blenderbim%\libs\site\packages\ifc4d" + rd /S /Q "%blenderbim%\libs\site\packages\ifc5d" + rd /S /Q "%blenderbim%\libs\site\packages\ifccityjson" + rd /S /Q "%blenderbim%\libs\site\packages\ifcclash" + rd /S /Q "%blenderbim%\libs\site\packages\ifcpatch" + rd /S /Q "%blenderbim%\libs\site\packages\ifctester" + rd /S /Q "%blenderbim%\libs\site\packages\ifccsv.py" + rd /S /Q "%blenderbim%\libs\site\packages\ifcdiff.py" + mklink "%blenderbim%\libs\site\packages\ifccsv.py" "%cd%\src\ifccsv\ifccsv.py" + mklink "%blenderbim%\libs\site\packages\ifcdiff.py" "%cd%\src\ifcdiff\ifcdiff.py" + mklink /D "%blenderbim%\libs\site\packages\ifc4d" "%cd%\src\ifc4d\ifc4d" + mklink /D "%blenderbim%\libs\site\packages\ifc5d" "%cd%\src\ifc5d\ifc5d" + mklink /D "%blenderbim%\libs\site\packages\ifccityjson" "%cd%\src\ifccityjson\ifccityjson" + mklink /D "%blenderbim%\libs\site\packages\ifcclash" "%cd%\src\ifcclash\ifcclash" + mklink /D "%blenderbim%\libs\site\packages\ifcpatch" "%cd%\src\ifcpatch\ifcpatch" + mklink /D "%blenderbim%\libs\site\packages\ifctester" "%cd%\src\ifctester\ifctester" echo Manually downloading some third party dependencies... curl https://raw.githubusercontent.com/jsGanttImproved/jsgantt-improved/master/dist/jsgantt.js -o "%blenderbim%\bim\data\gantt\jsgantt.js"