Installation

Install

Note

All code related to fabrication with ABB industrial robots requires compas_rrc which is hosted in a private repository.

  1. Create a virtual environment using your tool of choice (e.g. virtualenv, conda, etc).

    conda config --add channels conda-forge
    # use conda to install compas_fab if possible
    conda create -n rapid_clay_formations_fab python=3.8 git compas_fab==0.11
    conda activate rapid_clay_formations_fab
    
    virtualenv --python=python3.8 {{path/to/venv}}
    source {{path/to/venv}}/bin/activate
    
  2. Install compas_rrc & rapid_clay_formations_fab

    # install compas_rrc separately
    pip install git+https://bitbucket.org/ethrfl/compas_rrc@v1.0.0
    # from latest commit on git
    pip install git+https://github.com/gramaziokohler/rapid_clay_formations_fab
    # or last version
    pip install rapid_clay_formations_fab
    # or specific version
    rapid_clay_formations_fab=={version}
    

    If you have authentication issues with BitBucket (for compas_rrc), see Authentication problems with BitBucket

  3. Make package accessible in Rhino and Grasshopper

    python -m rapid_clay_formations_fab.rhino.install
    

Update

To update the repository run:

pip install -U rapid_clay_formations_fab
# or if you installed directly from github
pip install -U git+https://github.com/gramaziokohler/rapid_clay_formations_fab