/McNeel22

COMPAS Workshop on Discrete Element Modelling and Robotic Assembly

Primary LanguagePythonMIT LicenseMIT

Discrete Element Modeling to Robotic Fabrication using the COMPAS framework

🎦 Slides | 📃 COMPAS docs

Requirements

Help

If you need help with the installation process, please post a note on the workshop Slack channel: Join Slack

Installation

NOTE: If you're on Windows, all commands below have to be executed in the Anaconda Prompt (NOT the Command Prompt)

We use conda to make sure we have clean, isolated environment for dependencies.

First time using conda?

Make sure you run this at least once:

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

(base) conda env create -f https://dfab.link/mcneel22.yml

Add to Rhino

(base)  conda activate mcneel22
(mcneel22) python -m compas_rhino.install -v 7.0

Get the workshop files

Clone the repository:

(mcneel22) cd Documents
(mcneel22) git clone https://github.com/compas-Workshops/mcneel22.git

Verify installation

(mcneel22) python -m compas

Yay! COMPAS is installed correctly!

COMPAS: 1.17.0
Python: 3.9.13 (CPython)
Extensions: ['compas-cgal', 'compas-gmsh', 'compas-rrc', 'compas-fab', 'compas-occ', 'compas-view2']

Update installation

To update your environment:

(mcneel22) conda env update -f https://dfab.link/mcneel22.yml