diff --git a/src/blenderbim/scripts/installation/dev_environment.bat b/src/blenderbim/scripts/installation/dev_environment.bat index c56f544092..668a8a9c5e 100644 --- a/src/blenderbim/scripts/installation/dev_environment.bat +++ b/src/blenderbim/scripts/installation/dev_environment.bat @@ -1,21 +1,22 @@ @echo off -rem SETUP BLENDER-BIM LIVE DEVELOPMENT ENVIRONMENT -rem Update BLENDER_VERSION, PYTHON_VERSION, BBIM_REPO in the script bellow. -rem Put the script to the folder where IfcOpenShell git repository is located -rem (script will try to clone IfcOpenShell.git if it's not present). +rem SETUP BLENDERBIM ADD-ON LIVE DEVELOPMENT ENVIRONMENT +rem Update BLENDER, BLENDER_VERSION, PYTHON_VERSION, BBIM_REPO in the script bellow. +rem Put the script at the root of your IfcOpenShell git repository +rem This script needs to be run as administrator (to create symbolic links) +rem Make sure you have followed these steps before proceeding :) + +pause + SET BLENDER_VERSION=4.2 SET PYTHON_VERSION=3.11 SET BBIM_REPO=user_default -SET BLENDER=%appdata%\Blender Foundation\Blender\%BLENDER_VERSION% +SET BLENDER=C:\Users\X\AppData\Roaming\Blender Foundation\Blender\%BLENDER_VERSION% SET BLENDER_LOCAL=%BLENDER%\extensions\.local\lib\python%PYTHON_VERSION%\site-packages SET BLENDERBIM=%BLENDER_LOCAL%\blenderbim SET BLENDER_EXT=%BLENDER%\extensions\%BBIM_REPO%\blenderbim -git clone https://github.com/IfcOpenShell/IfcOpenShell.git -cd IfcOpenShell - echo Removing the Blender add-on Python code... del "%BLENDER_EXT%\__init__.py" rd /S /Q "%BLENDERBIM%"