• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Wiki
  • Dependencies

Dependencies · Изменения

История страницы
Updated Dependencies (markdown) создал Мар 21, 2021 по автору nikitron's avatar nikitron
Скрыть пробелы
Построчно Рядом
Dependencies.md
Просмотреть страницу @9fc0a86b
...@@ -5,180 +5,6 @@ One thing you will have to install anyway if you want to use these external libr ...@@ -5,180 +5,6 @@ One thing you will have to install anyway if you want to use these external libr
# Install SciPy
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U scipy
The following nodes become available only when you install SciPy:
* Intersect Curve with Plane
* RBF Curve
* Nearest Point on Curve
* Catenary Curve
* Interpolate Curve Frame
* Approximate Bezier Curve
* Ortho Project on Curve
* Curve Extremes
* Minimal Scalar Field
* Minimal Vector Field
* Minimal Surface
* Minimal Surface from Curve
* Intersect Curve with Surface
* Surface Raycast
* Nearest Point on Surface
* Ortho Project on Surface
* Surface Extremes
* Implicit Surface Raycast
* Voronoi 3D
* Delaunay 3D
* Voronoi on Sphere
The following nodes can optionally use SciPy:
* Mesh Normal Field
* Interpolating Surface
# Install SciKit-Image
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U scikit-image
The following nodes become available only when you install SciKit-Image:
* Marching Squares
* Marching Squares on Surface
* Scalar Field Graph
The following node can optionally use SciKit-Image:
* Marching Cubes
# Install Circlify
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U circlify
The following node becomes available only when you install Circlify:
* Circlify
# Install PyMCubes
This is more complex. First, you have to install [Cython][7]:
$ /path/to/blender/2.xx/python/bin/python3 -m pip install Cython
Then you have to set up a build environment for Cython. You will need 1) to
install development files for Python (such as `Python.h` and others), and 2) to
explain Blender's python where to find them. **Note**: you have to have headers
for exactly the same version of Python that your Blender build is using.
On Debian/Ubuntu, you can install Python's development files by `apt-get
install libpython3.7-dev` for `python3.7m` used in Blender 2.80/2.81. On other
Linux distros, the command will be similar. On Windows or MacOS this can be
more tricky, I did not try.
You have to somehow tell Blender's built-in python where to look for headers.
I've found the simplest way is to do
$ ln -s /usr/include/python3.7m/* /path/to/blender/2.xx/python/include/python3.7m/
There may be more correct way, but I do not know it.
After that, you can install PyMCubes by
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U PyMCubes
The following node can optionally use PyMCubes:
* Marching Cubes
# Install Geomdl
In the simplest case, you can install Geomdl by
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U geomdl
but this way you will get pure-python library, which is very slow. If you want
it fast, then you have to install Cython (see previous paragraph for
instruction). After you installed Cython, you can install "cythonized" geomdl
as it is described in [Geomdl instruction][9]:
$ /path/to/blender/2.xx/python/bin/python3 -m pip install geomdl --install-option="--use-cython"
### Windows
To get geomdl to compile
After you install Cython via pip...
Install the same version of Python that your install of Blender uses from [python.org][18]
* Blender 2.9 == [Python 3.7][19]
This will give you the /includes and /libs. Make sure on the Advanced screen of the installer you choose 'Precompile standard library' and
'Download debugging symbols'
After install is complete, open up a Command Prompt (not Powershell). You will be making symbolic links from the /libs and /include from the python installation.
* For the ```/libs``` directory
```
mklink /D "C:\Program Files\Blender Foundation\Blender 2.90\2.90\python\libs" "C:\Users\<username>\AppData\Local\Programs\Python\Python37\libs"
```
* For the ```/include``` directory
```
mklink /D "C:\Program Files\Blender Foundation\Blender 2.90\2.90\python\include" "C:\Users\<USERNAME>\AppData\Local\Programs\Python\Python37\include"
```
You should now be able to install geomdl with ```--use-cython``` arguments
The following nodes become available only when you install Geomdl:
* Approximate NURBS Curve
* Approximate NURBS Surface
* Interpolate NURBS Surface
* Quads to NURBS
* NURBS to JSON
* JSON to NURBS
The following nodes can optionally use Geomdl:
* Build NURBS Curve
* Build NURBS Surface
* Interpolating Surface
* Interpolate NURBS Curve
* NURBS In
# Install FreeCAD py3lib
You have to use FreeCAD of version 0.18 (0.19 could not work).
### Linux:
1. Install FreeCAD (or just it's libraries, that will be enough):
$ sudo apt install libfreecad-python3-0.18
Note that in Ubuntu there is a [bug](https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1866914) in FreeCAD package; so if you are having error messages like `libnglib.so: no such file or directory`, then to work around this bug, you have to do the following:
$ sudo apt install libnglib-6.2.1804
$ sudo echo '/usr/lib/x86_64-linux-gnu/netgen' >> /etc/ld.so.conf.d/x86_64-linux-gnu.conf
$ sudo ldconfig
2. In Sverchok preferences dialog, in the "FreeCAD python path" field, enter `/usr/lib/freecad-python3/lib/` and press the "Set Path" button.
3. Restart Blender.
### Windows:
Download and install [FreeCAD for Windows][17]
Add sverchok freecad-python3-lib path:
...\conda-0.18.3\bin
### MacOS
The current version of FreeCAD has a different version of Python (3.8) so you must use ```conda-forge``` to retrieve a version compiled against Python 3.7.
Follow the [recipe at FreeCAD Web][20]
While it is ```activated``` type ```which freecad``` and use this path for the sverchok FreeCad lib path in Preferences. Don't forget to press 'Set Path' before closing the dialog. Restart Blender to take effect.
# Side extending packages # Side extending packages
[Here][25] [Here][25]
......
Клонировать репозиторий
  • For Users:
    • Web resources about Sverchok
    • Dependencies and their installation
      • Simple dependencies
      • PIP
      • SciPy
      • SciKit image
      • Circlify
      • PyMcubes
      • GeomDL
      • FreeCAD
    • Sverchok for Blender 2.8x Release Notes
    • Profile Node Examples
    • Set up GitHub account for exporting node trees from Sverchok
    • Custom Defaults
    • Installation on Gentoo-based systems
    • Non-standard Python modules installation
    • Sverchok for Blender 2.79 Installation
    • Sverchok Extensions
    • FAQ
  • For Developers:
    • Install Development version
    • Contributing
      • Git practices
    • Building documentation tarball
    • Macros
    • Sverchok Node Tutorial
      • High-level node howto
      • Details