Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

GH Python Remote is a package to get Rhinoceros3D/Grasshopper and Python to collaborate better: connect an external python instance to Grasshopper, and vice-versa.

Project Description

Connect an external python instance to Grasshopper, and vice-versa.

Installation

Requires a Python 2.7 installation, not compatible with Python 3.
Requires rpyc, plumbum.
  1. To use from Rhino/IronPython to external python:
  • Install rpyc in external python with pip install rpyc from the command line. This will install the plumbum dependency.
  • Install ghpythonremote in Rhino/IronPython by copying the source code to %APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonremote, install in Rhino/IronPython by
  1. To use from external python to Rhino/IronPython:
  • Install rpyc in Rhino/IronPython by extracting the rpyc sub-directory from the source code to %APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib.
  • Install plumbum from its source code the same way: extract the plumbum sub-directory (found in plumbum-1.x.y.tar.gz\dist\plumbum-1.x.y.tar\plumbum-1.x.y\) to %APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib.
  • Install ghpythonremote in external python: put ghpythonremote folder in the same folder as the python file being executed, or in the Lib folder of your python installation (by default C:\Python27\Lib).

Usage

See examples in examples folder.

License

Licensed under the MIT license.

Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gh_python_remote-1.0.0-py2-none-any.whl (66.4 kB) Copy SHA256 Checksum SHA256 py2 Wheel Sep 4, 2017
gh-python-remote-1.0.0.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Sep 4, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting