Tag: python
-
GH Python RemoteTool, 2017 - Present
GH Python Remote is a special set of tools in Grasshopper that let you use regular Python code directly in the GHPython component. This means you can use numpy, scipy, matlplotlib et al. right inside of Grasshopper! Installation instructions are on the Github page.
GH Python Remote works by connecting GHPython to an external instance of Python that runs all the usual programs. This augments the GHPython component to get the best of both worlds: your code will be able to call both RhinoCommon functions and regular Python packages from the same script. The dependencies are as limited as possible, and the installation is just to two command lines. The connection between GHPython and the remote Python is as fast as possible, and does not slow down when the size of your objects increases.
The component is still very flexible. For example, it will also let you connect to Python servers running on external machines, bringing the power of the cloud to your Grasshopper. Another example: it also works the other way, controlling Rhino and GHPython from an external Python program. And it's all open source!