Basic infrastructure for working with robots in COMPAS.
Project description
COMPAS Robots
Basic infrastructure for working with robots in COMPAS.
Getting started with this project
Setup code editor
- Open project folder in VS Code
- Select python environment for the project
- First time using VS Code and on Windows? Make sure select the correct terminal profile:
Ctrl+Shift+P,Terminal: Select Default Profileand selectCommand Prompt.
All terminal commands in the following sections can be run from the VS Code integrated terminal.
First steps with git
- Go to the
Source controltab - Make an initial commit with all newly created files
First steps with code
-
Install the newly created project
pip install -e . -
Install it on Rhino
python -m compas_rhino.install
Code conventions
Code convention follows PEP8 style guidelines and line length of 120 characters.
-
Check adherence to style guidelines
invoke lint -
Format code automatically
invoke format
Documentation
Documentation is generated automatically out of docstrings and Markdown files in this repository using MkDocs with the Material theme and mkdocstrings.
-
Generate the docs
invoke docs -
Open docs in your browser (file explorer ->
dist/docs/index.html)
Testing
Tests are written using the pytest framework
-
Run all tests from terminal
invoke test -
Or run them from VS Code from the
Testingtab
Publish release
Releases follow the semver versioning convention.
-
Create a new release
invoke release major
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file compas_robots-1.0.0.tar.gz.
File metadata
- Download URL: compas_robots-1.0.0.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a06354271005093f0c6a527d70c7a175d9ea4d4d1fb51bcf44ab2d787bcd41e2
|
|
| MD5 |
6236e90feef67794991c5daeecc00e68
|
|
| BLAKE2b-256 |
a722e6fbe8510b921aa37b3caa39889c3e9d8b47319718ebf58a46350df1d09b
|
File details
Details for the file compas_robots-1.0.0-py3-none-any.whl.
File metadata
- Download URL: compas_robots-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ce43e7b15d71e7eb18604df7b38d3840ef2ef900d66bf334df154694b3e5c4a
|
|
| MD5 |
5ac3a494a1d95572a6126879280038f9
|
|
| BLAKE2b-256 |
d35d96fc0fa65900e96964bf940e023309c259a66830de15edaf55565ad7fb33
|