Getting Started

Requirements

Dependencies

1. Setting up the Anaconda environment with COMPAS

Execute the commands below in Anaconda Prompt:

(base) conda config --add channels conda-forge

Windows

(base) conda create -n cdf compas_fab --yes
(base) conda activate cdf

Verify Installation

(cdf) pip show compas_fab

Name: compas-fab
Version: 0.27.0
Summary: Robotic fabrication package for the COMPAS Framework
...

Install on Rhino

(cdf) python -m compas_rhino.install -v 7.0

2. Installation of Dependencies

(cdf) conda install git

UR Fabrication Control

(cdf) python -m pip install git+https://github.com/augmentedfabricationlab/ur_fabrication_control@master#egg=ur_fabrication_control
(cdf) python -m compas_rhino.install -p ur_fabrication_control -v 7.0

CEM - Combinatorial Equilibrium Modelling

(Windows only)

Download the CEM_180 from the CEM repository. After the download copy the folders CEM and NLoptNet (Downloads\CEM-master\CEM_180\CEM_180_Rhino6_GHPlugin) and paste those into your Grasshopper Plugins folder. You can reach the Grasshopper Plugins folder via the Rhino command line by entering “GrasshopperFolders” and selecting “Components” or in Grasshopper from File > Special Folders > Components Folder.

3. Cloning the Course Repository

Create a workspace directory:

C:\Users\YOUR_USERNAME\workspace\projects

Then open Github Desktop and clone the CDF 2023 repository repository into your projects folder. Then install the repo within your environment (in editable mode):

(cdf) pip install -e your_filepath_to_cdf_2023
(cdf) python -m compas_rhino.install -p cdf_2023 -v 7.0

Voilà! You can now go to VS Code, Rhino or Grasshopper to run the example files!