Skip to content

Commit ac0dcc3

Browse files
author
andrewtliew
committed
Merge remote-tracking branch 'origin/master' into feature/blender_2.80
# Conflicts: # src/compas_blender/__init__.py
2 parents 0d34284 + b0002e3 commit ac0dcc3

File tree

343 files changed

+13881
-11690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+13881
-11690
lines changed

.bumpversion.cfg

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.3.4
2+
current_version = 0.4.10
33
message = Bump version to {new_version}
44
commit = True
55
tag = True
@@ -9,14 +9,26 @@ search = version='{current_version}'
99
replace = version='{new_version}'
1010

1111
[bumpversion:file:docs/conf.py]
12-
search = release = '{current_version}'
13-
replace = release = '{new_version}'
12+
search = release = '{current_version}'
13+
replace = release = '{new_version}'
1414

1515
[bumpversion:file:src/compas/__init__.py]
16-
search = __version__ = '{current_version}'
17-
replace = __version__ = '{new_version}'
16+
search = __version__ = '{current_version}'
17+
replace = __version__ = '{new_version}'
18+
19+
[bumpversion:file:src/compas_blender/__init__.py]
20+
search = __version__ = '{current_version}'
21+
replace = __version__ = '{new_version}'
22+
23+
[bumpversion:file:src/compas_ghpython/__init__.py]
24+
search = __version__ = '{current_version}'
25+
replace = __version__ = '{new_version}'
1826

1927
[bumpversion:file:src/compas_rhino/__init__.py]
2028
search = __version__ = '{current_version}'
2129
replace = __version__ = '{new_version}'
2230

31+
[bumpversion:file:CHANGELOG.md]
32+
search = [Unreleased]
33+
replace = {new_version}
34+
File renamed without changes.

.travis.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
11
language: python
22

3-
matrix:
4-
include:
5-
- python: 2.7
6-
- python: 3.6
3+
python:
4+
- "2.7"
5+
- "3.6"
76

87
before_install:
9-
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
10-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
11-
bash miniconda.sh -b -p $HOME/miniconda;
12-
export PATH="$HOME/miniconda/bin:$PATH";
13-
hash -r;
14-
conda config --set always_yes yes --set changeps1 no;
15-
conda update -q conda;
16-
conda info -a;
17-
conda create -y -q -n compas_3x -c conda-forge python=3.6;
18-
source ~/miniconda/bin/activate compas_3x;
19-
pip install -r requirements-dev.txt;
20-
else
21-
sudo apt-get update -qq;
22-
pip install -r requirements-dev.txt;
23-
fi
8+
- pip install Cython --install-option="--no-cython-compile"
249

2510
install:
26-
- python setup.py install;
11+
# This works because requirements-dev.txt ends with "-e ." to install COMPAS itself
12+
- pip install --no-cache-dir -r requirements-dev.txt
13+
2714

2815
script:
2916
- invoke test
3017
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
31-
cd temp && git clone https://github.com/compas-dev/sphinx_compas_theme && cd ..;
3218
invoke docs;
3319
fi
3420

AUTHORS.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
# Credits
2+
3+
## Project Lead
4+
15
- Tom Van Mele <<[email protected]>> [@brgcode](https://github.com/brgcode), [@tomvanmele](https://github.com/tomvanmele)
6+
7+
## Main Developers
8+
9+
- Gonzalo Casas <<[email protected]>> [@gonzalocasas](https://github.com/gonzalocasas)
210
- Andrew Liew <<[email protected]>> [@andrewtliew](https://github.com/andrewtliew)
311
- Tomás Méndez Echenagucia <<[email protected]>> [@tmsmendez](https://github.com/tmsmendez)
412
- Matthias Rippmann <<[email protected]>> [@Rippmann](https://github.com/Rippmann)
513
- Romana Rust <<[email protected]>> [@romanarust](https://github.com/romanarust)
14+
15+
## Contributors
16+
617
- Kathrin Dörfler <<[email protected]>> [@Kathrin3010](https://github.com/Kathrin3010)
7-
- Gonzalo Casas <<[email protected]>> [@gonzalocasas](https://github.com/gonzalocasas)
818
- Robin Oval <<[email protected]>> [@robin-oval](https://github.com/robin-oval)

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## 0.4.10
9+
10+
### Added
11+
12+
- Constrained and conforming Delaunay triangulations based on Triangle.
13+
- Predicate-based filtering of vertices and edges.
14+
15+
### Changed
16+
17+
- Updated Rhino installation merging Win32 and Mac implementations and defaulting the bootstrapper to the active python even if no CONDA environment is active during install.
18+
19+
### Removed
20+
21+
- Bound mesh operations.
22+
23+
## [0.4.8] - 2019-01-28
24+
25+
### Added
26+
27+
- Curve tangent at parameter.
28+
- Box shape.
29+
- Numpy-based mesh transformations.
30+
- Option to share axes among plotters.
31+
32+
### Changed
33+
34+
### Removed
35+

CONTRIBUTING.md

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
1-
# Contributions
1+
# Contributing
22

33
Contributions are welcome and very much appreciated!
44

55

6+
## Bug reports
7+
8+
When [reporting a bug](https://github.com/compas-dev/compas/issues) please include:
9+
10+
* Operating system name and version.
11+
* Any details about your local setup that might be helpful in troubleshooting.
12+
* Detailed steps to reproduce the bug.
13+
14+
> **NOTE**
15+
>
16+
> Please don't use the issue tracker to ask questions about **COMPAS**.
17+
> There is a [forum](https://forum.compas-framework.org) for that!
18+
>
19+
20+
21+
## Feature requests
22+
23+
When [proposing a new feature](https://github.com/compas-dev/compas/issues) please include:
24+
25+
* Explain in detail how it would work.
26+
* Keep the scope as narrow as possible, to make it easier to implement.
27+
28+
629
## Code contributions
730

831
We accept code contributions through pull requests.
@@ -19,7 +42,7 @@ In short, this is how that works.
1942
3. Install development dependencies:
2043

2144
```bash
22-
$ pip install -r requirements-dev.txt
45+
$ pip install -r requirements-dev.txt
2346
```
2447

2548
4. Make sure all tests pass:
@@ -48,27 +71,3 @@ command line to ease recurring operations:
4871
* `invoke docs`: Generate documentation.
4972
* `invoke test`: Run all tests and checks in one swift command.
5073
* `invoke`: Show available tasks.
51-
52-
53-
## Bug reports
54-
55-
When [reporting a bug](https://github.com/compas-dev/compas/issues) please include:
56-
57-
* Operating system name and version.
58-
* Any details about your local setup that might be helpful in troubleshooting.
59-
* Detailed steps to reproduce the bug.
60-
61-
> **NOTE**
62-
>
63-
> Please don't use the issue tracker to ask questions about **COMPAS**.
64-
> There is a [forum](https://forum.compas-framework.org) for that!
65-
>
66-
67-
68-
## Feature requests and feedback
69-
70-
The best way to send feedback is to file an issue on [Github](https://github.com/compas-dev/compas/issues).
71-
If you are proposing a feature:
72-
73-
* Explain in detail how it would work.
74-
* Keep the scope as narrow as possible, to make it easier to implement.

MANIFEST.in

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
graft src
2+
graft bin
3+
4+
prune .github
25

36
prune data
47
prune docs
@@ -8,9 +11,13 @@ prune temp
811

912
include LICENSE
1013
include README.md
11-
include CONTRIBUTORS.md
14+
include AUTHORS.md
15+
include CHANGELOG.md
1216
include requirements.txt
1317

14-
exclude requirements-dev.txt pytest.ini .bumpversion.cfg .editorconfig tasks.py
18+
exclude requirements-dev.txt
19+
exclude pytest.ini .bumpversion.cfg .editorconfig
20+
exclude tasks.py
21+
exclude CODE_OF_CONDUCT.md CONTRIBUTING.md
1522

1623
global-exclude *.py[cod] __pycache__ *.dylib *.nb[ic] .DS_Store

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# The COMPAS framework
22

33
[![Travis - Build Status](https://travis-ci.com/compas-dev/compas.svg?branch=master)](https://travis-ci.com/compas-dev/compas)
4-
[![GitHub - License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/compas-dev/compas)
4+
[![GitHub - License](https://img.shields.io/github/license/compas-dev/compas.svg)](https://github.com/compas-dev/compas)
55
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/COMPAS.svg)](https://pypi.python.org/project/COMPAS)
66
[![PyPI - Latest Release](https://img.shields.io/pypi/v/COMPAS.svg)](https://pypi.python.org/project/COMPAS)
7+
[![Conda - Latest Release](https://anaconda.org/conda-forge/compas/badges/version.svg)](https://anaconda.org/conda-forge/compas)
78

89
The **COMPAS** framework is an open-source, Python-based framework for computational research and collaboration in architecture, engineering and digital fabrication.
910

@@ -36,9 +37,6 @@ To verify your setup, start Python from the command line and run the following:
3637

3738
```
3839

39-
Alternatively, you can also install from source. Check the [documentation for more details](https://compas-dev.github.io/main/devguide.html).
40-
41-
4240
## First Steps
4341

4442
* https://compas-dev.github.io/main/examples.html
@@ -59,7 +57,7 @@ If you find a bug, please help us solve it by [filing a report](https://github.c
5957

6058
## Contributing
6159

62-
If you want to contribute, check out our [developer guidelines](https://compas-dev.github.io/main/devguide.html).
60+
If you want to contribute, check out the [contribution guidelines](https://compas-dev.github.io/main/contributions.html).
6361

6462

6563
## License
File renamed without changes.

bin/install_compas_sublime

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env python
2+
import os
3+
import sys
4+
import argparse
5+
6+
import compas
7+
8+
HOME = os.environ['HOME']
9+
10+
11+
def main():
12+
parser = argparse.ArgumentParser()
13+
parser.add_argument('plugin_path', help="The path to the plugin source.")
14+
args = parser.parse_args()
15+
16+
plugin_path = args.plugin_path
17+
18+
parent, name = os.path.split(plugin_path)
19+
20+
if not os.path.exists(plugin_path):
21+
raise Exception('Cannot find the plugin at this location: {}'.format(plugin_path))
22+
23+
if not os.path.isdir(plugin_path):
24+
raise Exception('The provided path is not a plugin source dir: {}'.format(plugin_path))
25+
26+
symlink_path = os.path.join(HOME, 'Library', 'Application Support', 'Sublime Text 3', 'Packages', name)
27+
28+
if os.path.exists(symlink_path):
29+
compas._os.remove_symlink(symlink_path)
30+
31+
compas._os.create_symlink(plugin_path, symlink_path)
32+
33+
print("\nSuccess: ST3 plugin installed!\n")
34+
35+
sys.exit(0)
36+
37+
38+
if __name__ == '__main__':
39+
main()

0 commit comments

Comments
 (0)