Dev install

An installation procedure for those who want to contribute to the development of RV2.

Latest released version of RV2 is 1.4.7. This version requires:

  • compas 1.14.1

  • compas_cloud 0.3.2

  • compas_tna 0.1.5

  • compas_skeleton 1.1.4

Use a "dev" install or "developer" install if you want to contribute to the development of RV2.

conda config --add channels conda-forge
conda create -n rv2-dev git python=3.7 cython
conda activate rv2-dev
cd path/to/local/compas-RV2
pip install -e .
python -m compas_rv2.install

Create a dev environment

Use conda to create a development environment, for example "rv2-dev", and install git, python, and cython.

conda config --add channels conda-forge
conda create -n rv2-dev git python=3.7 cython

Install RV2 from a local repo

In the dev environment, use pip to install an editable, local version of RV2.

conda activate rv2-dev
cd path/to/local/compas-RV2
pip install -e .
python -m compas_rv2.install

Modify the RV2 library

  • compas_rv2.datastructures

  • compas_rv2.rhino

  • compas_rv2.scene

Modify RV2 commands

Behind the menu items and toolbar buttons of the UI are the commands of a RhinoPython Command Plugin. The commands are defined in python scripts in compas_rv2/ui/Rhino/RV2/dev. For example, RV2form_cmd.py defines the command for creating an RV2 Form Diagram.

Add a command

Last updated