Manual installation for developers

Use this installation guide if you want to add COMPAS TIMBER for development purposes.

Note

See also details on COMPAS development here .

  1. Fork the COMPAS TIMBER repo and clone the fork.

  2. Navigate to the COMPAS TIMBER repository folder:

    cd ..\path-to-compas-timber
    
  3. Install development dependencies and COMPAS TIMBER:

    pip install compas@git+https://github.com/compas-dev/compas@main
    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. Reference COMPAS TIMBER and its dependecies to Rhino and Grasshopper:

    python -m compas_rhino.install
    

    or

    python -m compas_rhino.install -v 7.0
    

    if you need to specify Rhino version (for example 7.0).