Skip to content

Installation Guide

Ania A edited this page Jan 30, 2023 · 9 revisions

compas_timber

Installation

  1. Download the compas_timber repo and unpack, or clone.

  2. (Optional) Using conda, create a new virtual environment (replace <myenvname> with your desired name), and activate it:

    conda create -n <myenvname> python=3.9
    conda activate <myenvname>
    
  3. Navigate to the compas_timber folder:

    cd ..\path-to-folder

  4. Install development dependencies and compas_timber:

    pip install -r requirements-dev.txt

Rhino & Grasshopper

  1. Build ghuser components for Grasshopper:

    invoke build-ghuser-components

    (Requires IronPython: install from e.g. here, and make sure it is added to the environment variables).

  2. Install compas and other compas packages, including compas_timber for Rhino and Grasshopper:

    python -m compas_rhino.install or

    python -m compas_rhino.install -v 7.0 if you need to specify Rhino (for example 7.0) version

Clone this wiki locally