-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.1
- Loading branch information
Showing
43 changed files
with
662 additions
and
415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea/ | ||
binding/python/__pycache__/ | ||
binding/python/*.pyc | ||
resources/porcupine/binding/python/__pycache__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
## Ideas for Contributing | ||
|
||
* Adding new language/platform bindings. JavaScript, maybe? When adding a new binding please do make sure it | ||
is tested. Adding accompanying unit test is a great way to assure that. Take a look at | ||
[binding/python/](/binding/python) to find out how to unit test new bindings. | ||
* Adding new language/platform bindings. When adding a new binding please do make sure it is tested. Adding accompanying | ||
unit test is a great way to assure that. Take a look at [binding/python/](/binding/python) to find out how to unit test | ||
new bindings. | ||
|
||
* Adding new demos. Feel free to add new demos showcasing Rhino's capabilities on new platforms. Even better, | ||
if you have a cool application idea using Rhino feel free to add it under [demo/](/demo). If you end up making a new | ||
repository for your application idea let us know and we'll be more than happy to provide a link to your project in | ||
Rhino's documentation. | ||
* Adding new demos. Feel free to add new demos showcasing Rhino's capabilities on new platforms. Even better, if you | ||
have a cool application idea using Rhino feel free to add it under [demo/](/demo). If you end up making a new repository | ||
for your application idea let us know and we'll be more than happy to provide a link to your project in Rhino's | ||
documentation. | ||
|
||
* Adding tutorials. Step-by-step tutorials are a great way of sharing knowledge with the community. These are extremely | ||
helpful especially when some hardware setup is involved (e.g. Raspberry Pi project). These can go under [docs]() directory. | ||
helpful especially when some hardware setup is involved (e.g. Raspberry Pi project). These can go under [docs]() | ||
directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
If you'd like to add a binding please submit a pull request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Prerequisites | ||
|
||
Python 3.5 or higher is required to use the binding and run its accompanying unit tests. | ||
|
||
The unit test uses [PySoundFile](https://pypi.python.org/pypi/PySoundFile) for reading audio test files. It can be | ||
installed using | ||
|
||
```bash | ||
pip install pysoundfile | ||
``` | ||
|
||
# Running Unit Tests | ||
|
||
Using command line (from the root of the repository) | ||
|
||
```bash | ||
python binding/python/test_rhino.py | ||
``` | ||
|
||
# Binding Class | ||
|
||
Rhino's Python binding uses [ctypes](https://docs.python.org/3.5/library/ctypes.html) to access Rhino's C | ||
library. For an example usage refer to [Rhino demo application](/demo/python/rhino_demo.py). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.