https://github.com/blockresearchgroup/carbcomn

CARBCOMN computational intro

https://github.com/blockresearchgroup/carbcomn

Science Score: 13.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
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

CARBCOMN computational intro

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

README.md

CARBCOMN - COMPAS workshop

Location Online on Microsoft Teams, link: Join meeting

Date * Wednesday 22nd January 2025

Time * 🌅 9:00 to 12:00 - Morning Session * 🍽️ 12:00 to 13:00 - Lunch Break * 🌇 13:00 to 17:00 - Afternoon Session

Slack * :loudspeaker: If you need help, please post a note in the CARBCOMN Slack workspace on the channel #compas-workshop: Join Slack

 

:exclamation: Attention: Please install all software, before the workshop :exclamation: * Part 1 - Requirements * Part 2 - Installation

Part 1 - Requirements

  • Minimum OS: Windows 10 Pro or Mac OS Sierra 10.12
  • Anaconda 3, or miniconda if you prefer...
  • Visual Studio Code with the Python and Pylance extensions from Microsoft.
  • Rhino 8

During the installation of the various tools, just accept all default settings. The default location for installing Anaconda is usually in the home directory. If it isn't, try to install it there anyway. And make sure not to register it on the PATH (Windows only). On Windows, the path to the home directory is stored in the variable %USERPROFILE%. On Mac, it is accessible through ~. This results in the following recommended installation directories for Anaconda.

On Windows

%USERPROFILE%\Anaconda3

On Mac

~/anaconda3

Part 2 - Installation

The command prompt

Many instructions in the next sections will have to be run from "the command prompt".

On Windows, use the "Anaconda Prompt" instead of the "Command Prompt", and make sure to run it as administrator.

To find the Anaconda Prompt open the Start Menu and type "Anaconda". The Anaconda Prompt should already show up in the list of search results. To launch it as administrator, right click and select "Run as administrator".

On Mac, use the "Terminal".

For simplicity, this guide will refer to both Terminal and Anaconda Prompt as "the command prompt".

The command prompt

We will use the command prompt to install the COMPAS Python packages (and their dependencies) required for the workshop.

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

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

Download the workshop files by cloning the GitHub repository in the desired folder. Type the following line in the command prompt and press enter:

git clone https://github.com/BlockResearchGroup/CARBCOMN.git

Then create the workshop environment and install the dependencies.

On Windows, type in the command prompt:

conda env create -f env_win.yml

On Mac, type:

conda env create -f env_notwin.yml

This could take a few minutes!

Verify installation

Activate the environment in the command prompt:

conda activate carbcomn

NOTE: You should see that your prompt changed from (base) to (carbcomn)

Run the verification command python -m compas:

(carbcomn) python -m compas

Yay! COMPAS is installed correctly!

COMPAS: 2.8.1
Python: 3.10.14 (CPython)
Extensions: ['compas-assembly', 'compas-cra', 'compas-tna', 'compas-dr', 'compas-fd', 'compas-ifc', 'compas-viewer', 'compas', 'compas-occ', 'compas-notebook', 'compas-model']

Updates

The CARBCOMN github repository will be updated with new files and examples. To pull the new content from the repository, in the command prompt, go to the folder where you cloned the repository, and with the carbcomn environment active, type:

git pull origin main

In the case of changes in the environment files, the carbcomn environment can be updated by typing:

On Windows:

conda env update -f env_win.yml

On Mac:

conda env update -f env_notwin.yml

Owner

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

GitHub Events

Total
  • Watch event: 1
  • Push event: 14
  • Public event: 1
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Watch event: 1
  • Push event: 14
  • Public event: 1
  • Pull request event: 1
  • Fork event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • petrasvestartas (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

environment.yml pypi
pyproject.toml pypi
requirements.txt pypi
  • compas_assembly >=0.7.0
  • compas_cra *
  • compas_dr *
  • compas_fd *
  • compas_ifc *
  • compas_model *
  • compas_notebook *
  • compas_tna *
  • compas_viewer *