Skip to main content

timber joinery generation

Project description

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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compas_wood-2.4.0.tar.gz (19.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compas_wood-2.4.0-py2.py3-none-any.whl (575.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file compas_wood-2.4.0.tar.gz.

File metadata

  • Download URL: compas_wood-2.4.0.tar.gz
  • Upload date:
  • Size: 19.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.10

File hashes

Hashes for compas_wood-2.4.0.tar.gz
Algorithm Hash digest
SHA256 394cb7a30f08bf2118819e4b3d89038964613fa23ce8d2ba7a033dea7948a7d0
MD5 1ddb857774af2807599c03b2d4e8d081
BLAKE2b-256 cf5ff39d109860e2025fc971410a012c45457363d463759634c898cce42174e5

See more details on using hashes here.

File details

Details for the file compas_wood-2.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: compas_wood-2.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 575.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.10

File hashes

Hashes for compas_wood-2.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a71a32c769724f798b92621e6ce24f4ef672737092e11b0dfb93ed45ff83a8b3
MD5 5097a2873e6552437e53cf1fa06d9430
BLAKE2b-256 da321fea29eb0d86dd4a13254dee004153bd3cf49f8222a475b91b1137e7b11d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page