@@ -22,13 +22,13 @@ the version of the bundled Python is 3.7, and for 2.93 LTS it is 3.9.
2222Installation
2323============
2424
25- These instructions are for the latest Blender 2.83 LTS which ships with Python 3.7
26- If you don't have an environment yet with Python 3.7 and COMPAS you can create one with ``conda ``.
25+ These instructions are for the latest Blender 2.93 LTS which ships with Python 3.9
26+ If you don't have an environment yet with Python 3.9 and COMPAS you can create one with ``conda ``.
2727
2828.. code-block :: bash
2929
3030 conda config --add channels conda-forge
31- conda create -n blender python=3.7 COMPAS --yes
31+ conda create -n blender python=3.9 COMPAS --yes
3232
3333 Configuring Blender to use the newly installed environment is slightly different per OS.
3434
@@ -58,9 +58,9 @@ Configuring Blender to use the newly installed environment is slightly different
5858.. code-block :: bash
5959
6060 conda activate blender
61- python -m compas_blender.install " %PROGRAMFILES%\\ Blender Foundation\\ Blender 2.83 \\ 2.83 "
61+ python -m compas_blender.install " %PROGRAMFILES%\\ Blender Foundation\\ Blender 2.93 \\ 2.93 "
6262
63- Note that the path ``%PROGRAMFILES%\\Blender Foundation\\Blender 2.83 \\2.83 `` might be different on your system.
63+ Note that the path ``%PROGRAMFILES%\\Blender Foundation\\Blender 2.93 \\2.93 `` might be different on your system.
6464Check your Blender installation and change the path accordingly.
6565
6666.. raw :: html
@@ -71,9 +71,9 @@ Check your Blender installation and change the path accordingly.
7171.. code-block :: bash
7272
7373 conda activate blender
74- python -m compas_blender.install /Applications/blender.app/Contents/Resources/2.83
74+ python -m compas_blender.install /Applications/blender.app/Contents/Resources/2.93
7575
76- Note that the path ``/Applications/blender.app/Contents/Resources/2.83 `` might be different on your system.
76+ Note that the path ``/Applications/blender.app/Contents/Resources/2.93 `` might be different on your system.
7777Check your Blender installation and change the path accordingly.
7878
7979.. raw :: html
@@ -84,9 +84,9 @@ Check your Blender installation and change the path accordingly.
8484.. code-block :: bash
8585
8686 conda activate blender
87- python -m compas_blender.install ~ /Blender/2.83
87+ python -m compas_blender.install ~ /Blender/2.93
8888
89- Note that the path ``~/Blender/2.83 `` might be different on your system.
89+ Note that the path ``~/Blender/2.93 `` might be different on your system.
9090Check your Blender installation and change the path accordingly.
9191
9292.. raw :: html
@@ -99,6 +99,14 @@ Check your Blender installation and change the path accordingly.
9999 </div >
100100 </div >
101101
102+ On Windows and OSX, if Blender is installed in the default location, you can simply provide the version number.
103+
104+ .. code-block :: bash
105+
106+ conda activate blender
107+ python -m compas_blender.install -v 2.93
108+
109+
102110 Add-ons
103111=======
104112
@@ -287,3 +295,30 @@ Artists are currently only available for data structures and robots.
287295
288296There is also no official system yet for making custom COMPAS tools in Blender.
289297Therefore, COMPAS Blender development is somewhat limited to individual scripts.
298+
299+ Known Issues
300+ ============
301+
302+ On Windows, Blender sometimes has issues with finding NumPy libraries.
303+ If this is the case, the problem can usually be solved by reinstalling NumPy in your environment using ``pip ``.
304+ However, to avoid issues with other packages that were already installed and depend on a specific version of NumPy,
305+ you should install the same version as the one installed originally by ``conda ``.
306+
307+ .. code-block :: bash
308+
309+ python -c " import numpy; print(numpy.__version__)"
310+
311+ If the above is, for example, ``1.20.3 ``
312+
313+ .. code-block :: bash
314+
315+ pip install --force-reinstall numpy==1.20.3
316+
317+ Alternatively, you can create a new environment and simply install entire COMPAS using ``pip ``.
318+
319+ .. code-block :: bash
320+
321+ conda create -n blender python=3.9 cython planarity --yes
322+ conda activate blender
323+ pip install compas
324+ python -m compas_blender.install
0 commit comments