Skip to main content

compas_wood

Read the documentation

Getting started with this project

Setup code editor

  1. Open project folder in VS Code
  2. Select python environment for the project
  3. First time using VS Code and on Windows? Make sure select the correct terminal profile: Ctrl+Shift+P, Terminal: Select Default Profile and select Command Prompt.

All terminal commands in the following sections can be run from the VS Code integrated terminal.

First steps with git

  1. Go to the Source control tab
  2. Make an initial commit with all newly created files

First steps with code

  1. Install the newly created project

     pip install -e .
    
  2. Install it on Rhino

     python -m compas_rhino.install
    

Code conventions

Code convention follows PEP8 style guidelines and line length of 120 characters.

  1. Check adherence to style guidelines

     invoke lint
    
  2. Format code automatically

     invoke format
    

Documentation

Documentation is generated automatically out of docstrings and RST files in this repository

  1. Generate the docs

     invoke docs
    
  2. Check links in docs are valid

     invoke linkcheck
    
  3. Open docs in your browser (file explorer -> dist/docs/index.html)

Testing

Tests are written using the pytest framework

  1. Run all tests from terminal

     invoke test
    
  2. Or run them from VS Code from the Testing tab

Developing Grasshopper components

We use Grasshopper Componentizer to develop Python components that can be stored and edited on git.

  1. Build components

     invoke build-ghuser-componentspip
    
  2. Install components on Rhino

     python -m compas_rhino.install
    

Publish release

Releases follow the semver versioning convention.

  1. Create a new release

     invoke release major
    

Star History

Star History Chart

Local Rhino Install

C:\Users\petras.rhinocode\py39-rh8\python.exe -m pip install -e .

Release files for compas-wood 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compas-wood 2.4.0
File Size Uploaded
compas_wood-2.4.0.tar.gz 19.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for compas-wood 2.4.0
File Interpreter ABI Platform
compas_wood-2.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 20.0 MB

Release files / compas_wood-2.4.0.tar.gz

Download URL compas_wood-2.4.0.tar.gz
Size 19.4 MB
Tags Source
SHA-256 checksum
How to use checksums
394cb7a30f08bf2118819e4b3d89038964613fa23ce8d2ba7a033dea7948a7d0
BLAKE2b-256 checksum
How to use checksums
cf5ff39d109860e2025fc971410a012c45457363d463759634c898cce42174e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.10

Release files / compas_wood-2.4.0-py2.py3-none-any.whl

Download URL compas_wood-2.4.0-py2.py3-none-any.whl
Size 575.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a71a32c769724f798b92621e6ce24f4ef672737092e11b0dfb93ed45ff83a8b3
BLAKE2b-256 checksum
How to use checksums
da321fea29eb0d86dd4a13254dee004153bd3cf49f8222a475b91b1137e7b11d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.10

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page