https://github.com/blockresearchgroup/brg-zhcode

BRG workshop at ZHCODE

https://github.com/blockresearchgroup/brg-zhcode

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

BRG workshop at ZHCODE

Basic Info
  • Host: GitHub
  • Owner: BlockResearchGroup
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 62.5 KB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

BRG-ZHCODE

BRG workshop at ZHCODE

Prerequisites

CAD

  • Rhino 8

Python Environment

Code Editor

Visual Studio Code with the following extensions from Microsoft:

  • Python
  • Pylance
  • C++ Extension Pack

C++ Compiler Setup

This is only needed on Friday...

Windows

  • Install Visual Studio
  • During installation, select "Desktop development with C++" workload

macOS

bash xcode-select --install

Ubuntu

bash sudo apt-get install build-essential

Installation

We will repeat the installation process during the workshop. However, it is useful to already test that the installed tools work properly.

If you are totally new to conda, please refer to the getting started instructions.

On Windows, use the Anaconda Prompt instead of the standard Commdand Prompt or Windows Powershell to run conda commands. On Mac, you can just use the Terminal.

Create an environment

Using conda, create an environment zha-intro, and install python3.12 and compas_occ from conda-forge.

bash conda create -n zha-intro -c conda-forge python=3.12 compas_occ -y

Activate the environment

You can have many environments in parallel. Therefore, you need to activate the environment you want to use.

bash conda activate zha-intro

Install packages

Except for compas_occ, the core packages of the COMPAS Framework can be installed directly from PyPI using the compas_framework meta package.

bash pip install "compas_framework>=0.1.3"

This will install

  • compas >= 2.13
  • compas_cgal
  • compas_gmsh
  • compas_libigl
  • compas_model
  • compas_session
  • compas_shapeop
  • compas_viewer

Test the installation

Launch an interactive Python interpreter.

bash python

When the Python interpreter is active you will see the Python prompt (>>>). Import some or all of the installed packages and print their version.

```bash

import compas print(compas.version) '2.13.0'

```

Exit the interpreter when you're done.

```bash

exit() ```

C++ / Python binding

Owner

  • Name: Block Research Group
  • Login: BlockResearchGroup
  • Kind: organization
  • Location: Zurich

GitHub Events

Total
  • Push event: 6
  • Public event: 1
  • Pull request event: 1
Last Year
  • Push event: 6
  • Public event: 1
  • Pull request event: 1

Dependencies

environment.yml pypi
  • compas_framework >=0.1.3
pyproject.toml pypi