Installation

Create a conda environment

The basic prerequisite to install compas_tno and the COMPAS packages is Anaconda. Install it on you machine and go to the next step.

We highly recommend to install compas_tno and related packages in a separate conda environment.

In this guide, we will create and use an environmenment based on Python 3.8 with the name tno.

Open your terminal and type the following to create a new environmenment and install the dependencies COMPAS, triangle and the COMPAS Standalone Viewer:

conda create -n tno -c conda-forge python=3.10 COMPAS compas_view2
conda create -n tno -c conda-forge python=3.10 python.app COMPAS compas_view2

The base environment is active by default. Activate the tno environment with:

conda activate tno

Installing compas_tno

The most direct way to work with compas_tno is by cloning the repository to your local drive. Create a folder to store the code. Navigate in the terminal to the folder and type:

git clone https://github.com/BlockResearchGroup/compas_tno.git
cd compas_tno
pip install -e .

This install compas_tno and the base required COMPAS packages.

Standalone viewer

The Standalone viewer COMPAS View 2 is used currently to display 3D solutions directly from the terminal. The installation can be done through conda:

conda install -c conda-forge compas_view2

To finalise the installation you need to install a few additonal Solvers to your environmenment following the additional guide.

Currently, a work-in-progress UI is being develeoped for Rhino 6+ and an installation guide is provided.